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
<script>
var data_512 = new Array(512 * 1024 + 1).join('x'); // 512k
var data_10 = new Array(10 * 1024 + 1).join('x'); // 10k
var data_1 = new Array(1025).join('x'); // 1k
var sto = window.localStorage;
sto.clear();
sto.setItem("512k", data_512);
sto.setItem("10k", data_10);
sto.setItem("1k", data_1);
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
localStorage read (1k) |
| ready |
localStorage write (1k) |
| ready |
localStorage read (10k) |
| ready |
localStorage write (10k) |
| ready |
localStorage read (512k) |
| ready |
localStorage write (512k) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.