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
<div id="container"></div>
el = document.getElementById("container");
var el1 = el.appendChild(document.createElement("div"));
el1.style.background = "url('http://www.google.se/images/srpr/logo3w.png')";
var el2 = el.appendChild(document.createElement("div"));
el2.style.background = "url('http://www.google.se/images/srpr/logo3w.png')";
var el3 = el.appendChild(document.createElement("div"));
el3.style.background = "url('http://www.google.se/images/srpr/logo3w.png')";
var el4 = el.appendChild(document.createElement("div"));
el4.style.background = "url('http://www.google.se/images/srpr/logo3w.png')";
Ready to run.
Test | Ops/sec | |
---|---|---|
Re-using DOM elements |
| ready |
Creating new DOM elements |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.