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="//code.jquery.com/jquery-3.0.0-beta1.min.js">
</script>
<script>
var jQ1 = jQuery.noConflict();
</script>
<script src="//code.jquery.com/jquery-2.2.0.min.js">
</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>
</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 | |
---|---|---|
1.x ID Selector |
| ready |
2.x ID Selector |
| ready |
1.x Class Selector |
| ready |
2.x Class Selector |
| ready |
1.x Iteration |
| ready |
2.x Iteration |
| ready |
1.x CSS Getter |
| ready |
2.x CSS Getter |
| ready |
1.x CSS Setter |
| ready |
2.x CSS Setter |
| ready |
1.x Find |
| ready |
2.x Find |
| ready |
1.x Non-existent ID |
| ready |
2.x Non-existent ID |
| ready |
1.x Non-existent Class |
| ready |
2.x Non-existent Class |
| ready |
1.x Filter-next-prev |
| ready |
2.x Filter-next-prev |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.