jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
const coords = [
[-75, -89.9],
[32, -89.9],
[32, -30],
[32, -20],
[-3, 15],
[-3, 41],
[-15, 41],
[-25, 25],
[-60, 20],
[-60, 0],
[-53, -19],
[-75, -30],
[-75, -89.9]
];
const sum = "-574.7";
const coordString = "-75,-89.9,32,-89.9,32,-30,32,-20,-3,15,-3,41,-15,41,-25,25,-60,20,-60,0,-53,-19,-75,-30,-75,-89.9"Ready to run.
| Test | Ops/sec | |
|---|---|---|
| Array Reduce | | ready |
| Array Reduce (destructured) | | ready |
| For Each | | ready |
| For-Loop | | ready |
| For-Loop 2 | | ready |
| Stringify Coords | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.