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
Checking to see the performance of getImageData for various widths and heights.
<script language="JavaScript">
var canvas = document.createElement('canvas');
canvas.width = 1000;
canvas.height = 1000;
var context = canvas.getContext('2d');
context.fillStyle = '#abc';
context.fillRect(0, 0, 1000, 1000);
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
One Pixel |
| ready |
One Pixel Center |
| ready |
10 by 10 |
| ready |
30 by 30 |
| ready |
900 by 1 |
| ready |
1 by 900 |
| ready |
100 by 100 |
| ready |
200 by 200 |
| ready |
500 by 500 |
| ready |
1000 by 1000 |
| ready |
1 by 100 |
| ready |
1 by 200 |
| ready |
1 by 500 |
| ready |
1 by 1000 |
| ready |
Perimeter |
| ready |
Small Perimeter |
| ready |
Smaller Perimeter |
| ready |
One Pixel Again |
| ready |
5 pixels |
| ready |
500 by 500 centered |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.