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
Testing fors and lets/vars (I don't know why I'm doing it and what I'm expecting... x_x)
function doStuff(i){ i*=2 }
Ready to run.
Test | Ops/sec | |
---|---|---|
for-var-let inline |
| ready |
for-var-let outside |
| ready |
for-let-var inline |
| ready |
for-let-var outside |
| ready |
for-var-var inline |
| ready |
for-var-var outside |
| ready |
for-let-let inline |
| ready |
for-let-let outside |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.