Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
one year ago
Test name Executions per second
jStat 638223.6 Ops/sec
Numeric JS (uses LUsolve under the hood) 150068.1 Ops/sec
Numeric JS (LU Decomposed first) 183754.8 Ops/sec
math.js 94006.5 Ops/sec
math.js (LU Decomposed first) 54145.6 Ops/sec
Sparse - jStat 18561.9 Ops/sec
Sparse - Numeric JS (uses LUsolve under the hood) 7554.6 Ops/sec
Sparse - Numeric JS (LU Decomposed first) 37854.0 Ops/sec
Sparse - math.js 3193.1 Ops/sec
Sparse - math.js (LU Decomposed first) 65012.0 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)


;