Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
jStat 1268083.4 Ops/sec
Numeric JS (uses LUsolve under the hood) 529933.2 Ops/sec
Numeric JS (LU Decomposed first) 698090.7 Ops/sec
math.js 358747.7 Ops/sec
math.js (LU Decomposed first) 585421.5 Ops/sec
Sparse - jStat 66145.3 Ops/sec
Sparse - Numeric JS (uses LUsolve under the hood) 51959.5 Ops/sec
Sparse - Numeric JS (LU Decomposed first) 147775.3 Ops/sec
Sparse - math.js 8042.5 Ops/sec
Sparse - math.js (LU Decomposed first) 575377.6 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)


;