Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
2 years ago
Benchmark.js
jStat
1.4M/s
Numeric JS (LU Decomposed first)
811K/s
Numeric JS (uses LUsolve under the hood)
611K/s
math.js (LU Decomposed first)
570K/s
math.js
355K/s
View exact numbers
Test name Executions per second
jStat 1,373,696 Ops/sec
Numeric JS (LU Decomposed first) 811,195 Ops/sec
Numeric JS (uses LUsolve under the hood) 611,410 Ops/sec
math.js (LU Decomposed first) 570,414 Ops/sec
math.js 355,028 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: