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
9 months ago
Test name Executions per second
jStat 1443914.5 Ops/sec
Numeric JS (uses LUsolve under the hood) 522868.0 Ops/sec
Numeric JS (LU Decomposed first) 879449.8 Ops/sec
math.js 373475.6 Ops/sec
math.js (LU Decomposed first) 616685.2 Ops/sec
Sparse - jStat 85040.3 Ops/sec
Sparse - Numeric JS (uses LUsolve under the hood) 62372.1 Ops/sec
Sparse - Numeric JS (LU Decomposed first) 179594.4 Ops/sec
Sparse - math.js 9730.6 Ops/sec
Sparse - math.js (LU Decomposed first) 622829.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jStat

  • Numeric JS (uses LUsolve under the hood)

  • Numeric JS (LU Decomposed first)

  • math.js

  • math.js (LU Decomposed first)

  • Sparse - jStat

  • Sparse - Numeric JS (uses LUsolve under the hood)

  • Sparse - Numeric JS (LU Decomposed first)

  • Sparse - math.js

  • Sparse - math.js (LU Decomposed first)


;