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="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
</script>
<ul>
<li>
Item 01
</li>
<li>
Item 02
</li>
<li>
Item 03
</li>
<li>
Item 04
</li>
<li>
Item 05
</li>
<li>
Item 06
</li>
<li>
Item 07
</li>
<li>
Item 08
</li>
<li>
Item 09
</li>
<li>
Item 10
</li>
<li>
Item 11
</li>
<li>
Item 12
</li>
<li>
Item 13
</li>
<li>
Item 14
</li>
<li>
Item 15
</li>
<li>
Item 16
</li>
<li>
Item 17
</li>
<li>
Item 18
</li>
<li>
Item 19
</li>
<li>
Item 20
</li>
</ul>
<script>
var $listItems = $('li'),
$element;
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
native for |
| ready |
jQuery 1.7 .each() |
| ready |
jQuery 1.7 $.each() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.