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
Check if ranges are faster with $.slice() or $.eq()
<div id="content">
<div class="element">
<h2>
Titel 1
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 2
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 3
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 4
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 5
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 6
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 7
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 8
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 9
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 10
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 11
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 12
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 13
</h2>
<p>
text text text
</p>
</div>
<div class="element">
<h2>
Titel 14
</h2>
<p>
text text text
</p>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script>
var i, cont = jQuery('div.element');
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Slice |
| ready |
eq |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.