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 len = 10000;
var f32array = new Float32Array(len);
var array = new Array(len);
for (var i = 0; i < len; i++) {
array[i] = i;
f32array[i] = i;
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
sum f32array |
| ready |
sum array |
| ready |
double f32array |
| ready |
double array |
| ready |
copy f32array |
| ready |
copy array |
| ready |
sum f32array using vec |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.