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
Test performance between Kimbo and jQuery .each() method
<script src="//kimbojs.com/dist/kimbo.min.js">
</script>
<script src="//code.jquery.com/jquery-2.0.3.js">
</script>
<script src="//jsdo.it/damele0n/10kN/js"></script>
<div id="header">
<h1>
Test
</h1>
<nav>
<ul class="menu">
<li class="button">
One
</li>
<li class="button">
Two
</li>
<li class="button">
Three
</li>
</ul>
</nav>
</div>
<div id="container">
<h2>
Test 2
</h2>
<p>
Lorem
</p>
<ul id="list" class="menu">
<li>
Item 1
</li>
<li>
Item 2
</li>
<li>
Item 3
</li>
</ul>
<form>
<input name="name" placeholder="name" />
</form>
</div>
<div id="footer">
<p>
Footer
</p>
</div>
<script>
window.$k = Kimbo;
window.$j = jQuery;
window.$t = tt;
</script>
var $kli = $k('li');
var $jli = $j('li');
var $tli = $t('li');
Ready to run.
Test | Ops/sec | |
---|---|---|
Kimbo .each() |
| ready |
jQuery .each() |
| ready |
tt .each() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.