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="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="http://zeptojs.com/zepto.min.js"></script>
<div id="rsvp" class="view" data-view-title="RSVPs">
<div class="content"></div>
</div>
<div id="chapter_004" class="view" data-view-title="Splendid Corgi Consortium">
<div class="content"></div>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
Zepto ID |
| ready |
jQuery ID |
| ready |
Zepto ClassName |
| ready |
jQuery ClassName |
| ready |
jquery |
| ready |
Zepto |
| ready |
id querySelector |
| ready |
class querySelector |
| ready |
class querySelectorAll |
| ready |
getElementById |
| ready |
getElementsByClassName |
| ready |
jQuery wrap querySelector |
| ready |
jQuery wrap querySelectorAll |
| ready |
jQuery wrap getElementById |
| ready |
vanilla combined |
| ready |
jQuery wrap vanilla combined |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.