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
comparing add speed using cached and new selections
<script src="http://code.jquery.com/jquery-1.3.1.js"></script>
<script>var jq131 = jQuery.noConflict();</script>
<script src="http://code.jquery.com/jquery-1.4.2.js"></script>
<script>var jq142 = jQuery.noConflict();</script>
<script src="http://code.jquery.com/jquery-1.6.js"></script>
<script>var jq16 = jQuery.noConflict();</script>
<script src="http://code.jquery.com/jquery-1.6.1.js"></script>
<script>var jq161 = jQuery.noConflict();</script>
<script src="http://code.jquery.com/jquery-git.js"></script>
<script>var jqgit = jQuery.noConflict();</script>
<div style="display:none;">
<ul>
<li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li>
</ul>
<div>
<span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span>
</div>
</div>
<script>
var spansFor161 = jq161("span");
var lisFor161 = jq161("li");
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
1.6.1 cached.add(select) |
| ready |
1.6.1 cached.add(cached) |
| ready |
1.6.1 select.add(select) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.