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.9.1.min.js">
</script>
<script>
var jQ19 = jQuery.noConflict();
</script>
<script src="https://code.jquery.com/jquery-2.0.0b2.js">
</script>
<script>
var jQ20b = 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.9.1 ID Selector |
| ready |
2.0.0b ID Selector |
| ready |
1.9.1 Class Selector |
| ready |
2.0.0b Class Selector |
| ready |
1.9.0 Iteration |
| ready |
2.0.0b Iteration |
| ready |
1.9.0 CSS Getter |
| ready |
2.0.0b CSS Getter |
| ready |
1.9.0 CSS Setter |
| ready |
2.0.0 CSS Setter |
| ready |
1.9.0 Find |
| ready |
2.0.0b Find |
| ready |
1.9.0 Non-existent ID |
| ready |
2.0.0b Non-existent ID |
| ready |
1.9.0 Non-existent Class |
| ready |
2.0.0b Non-existent Class |
| ready |
1.9.0 Filter-next-prev |
| ready |
2.0.0b Filter-next-prev |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.