Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Windows
Desktop
2 years ago
Benchmark.js
jStat
1.1M/s
Numeric JS (LU Decomposed first)
692K/s
Numeric JS (uses LUsolve under the hood)
518K/s
math.js (LU Decomposed first)
488K/s
math.js
290K/s
View exact numbers
Test name Executions per second
jStat 1,078,604 Ops/sec
Numeric JS (LU Decomposed first) 691,801 Ops/sec
Numeric JS (uses LUsolve under the hood) 517,917 Ops/sec
math.js (LU Decomposed first) 487,596 Ops/sec
math.js 289,517 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: