Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Chrome 78
Mac OS X 10.15.1
Desktop
4 years ago
Test name Executions per second
jStat 1129357.0 Ops/sec
Numeric JS (uses LUsolve under the hood) 446133.6 Ops/sec
Numeric JS (LU Decomposed first) 643546.6 Ops/sec
math.js 307137.6 Ops/sec
math.js (LU Decomposed first) 471824.1 Ops/sec
Sparse - jStat 83378.5 Ops/sec
Sparse - Numeric JS (uses LUsolve under the hood) 52559.4 Ops/sec
Sparse - Numeric JS (LU Decomposed first) 155126.1 Ops/sec
Sparse - math.js 7126.3 Ops/sec
Sparse - math.js (LU Decomposed first) 435029.1 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)


;