Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Solving System of Linear Equations with Matrix v2
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Browser:
Chrome 120
Operating system:
Linux
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
jStat
1373696.0 Ops/sec
Numeric JS (uses LUsolve under the hood)
611410.1 Ops/sec
Numeric JS (LU Decomposed first)
811194.6 Ops/sec
math.js
355028.2 Ops/sec
math.js (LU Decomposed first)
570413.8 Ops/sec
HTML Preparation code:
<!-- JStat --> <script src="https://cdn.jsdelivr.net/jstat/latest/jstat.min.js"></script> <!-- NumericJS --> <script src="https://cdn.rawgit.com/sloisel/numeric/master/src/numeric.js"></script> <!-- Math.js --> <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/3.9.0/math.min.js"></script>
Script Preparation code:
var A = [[11, -1, 0], [-1, 12, -1], [0, -1, 11]], B = [[87], [12] , [0]]; var Numeric_LUa = numeric.LU(A), math_LUa = math.lup(A);
Tests:
jStat
jStat.gauss_elimination(A, B);
Numeric JS (uses LUsolve under the hood)
numeric.solve(A, B);
Numeric JS (LU Decomposed first)
numeric.LUsolve(Numeric_LUa, B);
math.js
math.lusolve(A, B);
math.js (LU Decomposed first)
math.lusolve(math_LUa, B);