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
jQuery Test
<script src="http://code.jquery.com/jquery-1.6.4.min.js">
</script>
<script>
var jQ16 = jQuery.noConflict();
</script>
<script src="http://code.jquery.com/jquery-1.11.1.min.js">
</script>
<script>
var jQ111 = jQuery.noConflict();
</script>
<script src="http://code.jquery.com/jquery-2.1.1.min.js">
</script>
<script>
var jQ21 = 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.6.4 ID selector |
| ready |
1.11.1 ID Selector |
| ready |
2.1 ID Selector |
| ready |
1.6.4 Class Selector |
| ready |
1.11.1 Class Selector |
| ready |
2.1 Class Selector |
| ready |
1.6.4 Iteration |
| ready |
1.11.1 Iteration |
| ready |
2.1 Iteration |
| ready |
1.6.4 CSS getter |
| ready |
1.11.1 CSS Getter |
| ready |
2.1 CSS Getter |
| ready |
1.6.4 CSS setter |
| ready |
1.11.1 CSS Setter |
| ready |
2.1 CSS Setter |
| ready |
1.6.4 Find |
| ready |
1.11.1 Find |
| ready |
2.1 Find |
| ready |
1.6.4 Non-existent ID |
| ready |
1.11.1 Non-existent ID |
| ready |
2.1 Non-existent ID |
| ready |
1.6.4 Non-existent Class |
| ready |
1.11.1 Non-existent Class |
| ready |
2.1 Non-existent Class |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.