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="foo">
<div class="pps"></div>
<div class="pps"></div>
<div class="pps">
<div class="pfr"></div>
<div class="pfr"></div>
<div class="pfr"></div>
</div>
<div class="pps"></div>
<div class="pps"></div>
</div>
<div id="bar">
<div class="pps"></div>
<div class="pps"></div>
<div class="pps">
<div class="pfr"></div>
<div class="pfr"></div>
<div class="pfr"></div>
</div>
<div class="pps"></div>
<div class="pps"></div>
</div>
<div id="baz">
<div class="pps"></div>
<div class="pps"></div>
<div class="pps">
<div class="pfr"></div>
<div class="pfr"></div>
<div class="pfr"></div>
</div>
<div class="pps"></div>
<div class="pps"></div>
</div>
<div id="car">
<div class="pps"></div>
<div class="pps"></div>
<div class="pps">
<div class="pfr"></div>
<div class="pfr"></div>
<div class="pfr"></div>
</div>
<div class="pps"></div>
<div class="pps"></div>
</div>
<div id="batman">
<div class="sss">
<div class="rfr"></div>
<div class="rfr"></div>
<div class="rfr"></div>
</div>
<div class="sss">
<div class="str"></div>
<div class="str"></div>
<div class="str"></div>
</div>
<div class="sss">
<div class="sre"></div>
<div class="sre"></div>
<div class="sre"></div>
</div>
<div class="sss">
<div class="sref"></div>
<div class="sref"></div>
<div class="sref"></div>
</div>
<div class="sss">
<div class="syef"></div>
<div class="syef"></div>
<div class="syef"></div>
</div>
</div>
<div id="rar">
<div class="pps"></div>
<div class="pps"></div>
<div class="pps">
<div class="pfr"></div>
<div class="pfr"></div>
<div class="pfr"></div>
</div>
<div class="pps"></div>
<div class="pps"></div>
</div>
<div id="xaz">
<div class="pps"></div>
<div class="pps"></div>
<div class="pps">
<div class="pfr"></div>
<div class="pfr"></div>
<div class="pfr"></div>
</div>
<div class="pps"></div>
<div class="pps"></div>
</div>
<div id="batman_c">
</div>
<div id="batman_c_two">
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
getElementById with getElementsByClassName |
| ready |
querySelectorAll |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.