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="http://code.jquery.com/jquery-1.10.0.min.js">
</script>
<script>
var jQ1 = jQuery.noConflict();
</script>
<script src="http://code.jquery.com/jquery-2.0.1.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 | |
---|---|---|
v1 ID Selector |
| ready |
v2 ID Selector |
| ready |
v1 Class Selector |
| ready |
v2 Class Selector |
| ready |
v1 Iteration |
| ready |
v2 Iteration |
| ready |
v1 CSS Getter |
| ready |
v2 CSS Getter |
| ready |
v1 CSS Setter |
| ready |
v2 CSS Setter |
| ready |
v1 Find |
| ready |
v2 Find |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.