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
<canvas id="src" width="120" height="30"></canvas>
<canvas id="dest" width="120" height="30"></canvas>
<script>
var src = document.getElementById('src');
var ctx = src.getContext('2d');
ctx.font = '16px Verdana';
ctx.fillText('Hello, world', 10, 24);
var srcImageData = ctx.getImageData(0, 0, 120, 30);
var dest = document.getElementById('dest');
ctx = dest.getContext('2d');
ctx.font = '16px Verdana';
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
text |
| ready |
image from element |
| ready |
image from data |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.