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 width="800" height="600" id="canvas"></canvas>
<script>
var canvas = document.getElementById('canvas');
var context = canvas.getContext('2d');
var images = [new Image(), new Image(), new Image(), new Image()];
var w = canvas.width,
h = canvas.height;
images[0].src = 'http://www.w3.org/html/logo/downloads/HTML5_Badge_512.png';
images[1].src = 'http://www.w3.org/html/logo/downloads/HTML5_Badge_128.png';
images[2].src = 'http://www.w3.org/html/logo/downloads/HTML5_Badge_32.png';
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Large Image |
| ready |
Medium Image |
| ready |
Small Image |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.