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://fiddle.jshell.net/js/lib/mootools-core-1.3-full-nocompat-yc.js"></script>
<ul>
<li>test</li>
<li><span>test</span></li>
<li>test</li>
<li><a>test</a></li>
<li class="foo"><span>test</span></li>
<li>test</li>
<li class="foo"><a>test</a></li>
<li>test</li>
<li>test</li>
<li>test</li>
</ul>
Ready to run.
Test | Ops/sec | |
---|---|---|
getElements li |
| ready |
querySelectorAll li |
| ready |
getElements .foo |
| ready |
querySelectorAll .foo |
| ready |
getElement li |
| ready |
querySelector li |
| ready |
getElement .foo |
| ready |
querySelector .foo |
| ready |
getElements a,span |
| ready |
querySelectorAll a,span |
| ready |
getElements ul>li.foo |
| ready |
querySelectorAll ul>li.foo |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.