Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Chrome 57
Windows
Other
7 years ago
Test name Executions per second
Sparse - jStat 31913.6 Ops/sec
Sparse - Numeric JS (uses LUsolve under the hood) 50398.9 Ops/sec
Sparse - Numeric JS (LU Decomposed first) 71894.5 Ops/sec
Sparse - math.js 4703.1 Ops/sec
Sparse - math.js (LU Decomposed first) 21742.9 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)