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