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="canvas1" width="640" height="480">
</canvas>
<script>
var cv1 = document.getElementById("canvas1"),
ctx = cv1.getContext("2d"),
img = new Image(),
cvs;
img.onload = function() {
cvs = document.createElement("canvas");
cvs.width = this.width;
cvs.height = this.height;
cvs.getContext("2d").drawImage(this, 0, 0);
}
img.src = "http://www.ausmt.org/imagefiles/136/136LEFigure1.png";
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
render-image |
| ready |
pre-rendered canvas |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.