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://code.jquery.com/jquery-git1.js"></script>
<script src="https://code.jquery.com/jquery-git2.js"></script>
<script>
var jQ1 = jQuery.noConflict();
</script>
<script>
var jQ2 = jQuery.noConflict();
</script>
<div id="idSelector"></div>
<div class="classSelector"></div>
<ul id="iteration">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<div id="cssGetter" style="color: black;"></div>
<div id="cssSetter" style="color: black;"></div>
<div id="find">
<span></span>
<div>
<strong></strong>
</div>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
ID Selector jQuery 1 |
| ready |
ID Selector jQuery 2 |
| ready |
Class Selector jQuery 1 |
| ready |
Class Selector jQuery 2 |
| ready |
Iteration jQuery 1 |
| ready |
Iteration jQuery 2 |
| ready |
CSS Getter jQuery 1 |
| ready |
CSS Getter jQuery 2 |
| ready |
CSS Setter jQuery 1 |
| ready |
CSS Setter jQuery 2 |
| ready |
Find jQuery 1 |
| ready |
Find jQuery 2 |
| ready |
Non-existent ID jQuery 1 |
| ready |
Non-existent ID jQuery 2 |
| ready |
Non-existent Class jQuery 1 |
| ready |
Non-existent Class jQuery 2 |
| ready |
Filter-next-prev jQuery 1 |
| ready |
Filter-next-prev jQuery 2 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.