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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js">
</script>
<p id="b1"></p>
<p id="b2"></p>
<p id="b3"></p>
<p id="b4"></p>
<p id="b5"></p>
<p id="b6"></p>
<p id="b7"></p>
<p id="b8"></p>
<p id="b9"></p>
<p id="b10"></p>
<p id="b11"></p>
<p id="b12"></p>
<p id="b13"></p>
<p id="b14"></p>
<p id="b15"></p>
<p id="b16"></p>
<p id="b17"></p>
<p id="b18"></p>
<p id="b19"></p>
<p id="b20"></p>
<table id="foo"><tr><td>
Test
</td></tr></table>
<p id="bar">
bars</p>
<script>
var el = document.getElementById("foo");
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
getElementById |
| ready |
jQuery Selector |
| ready |
Custom Method |
| ready |
$ Custom Method |
| ready |
jQuery Window Object |
| ready |
realgetelementbyid |
| ready |
typeof |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.