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
<ul id='box'></ul>
var box = document.getElementById('box');
box.innerHTML = `<li class="list-options__highlight"><img class="list-options__highlight--img" alt="Neymar" src="http://s.glbimg.com//es/sde/f/2014/06/11/8f43a73e5a1046e40507df53aade4cb4_80x80.jpeg"><a class="list-options__highlight--link" href="http://google.com/teste/index.html">Neymar</a></li><li class="list-options__suggestion--header"><span>Sugestões de busca</span></li><li class="list-options__suggestion"><a class="list-options__link" href="http://google.com/busca/?q=musica que neymar pediu">musica que <b>neymar</b> pediu</a></li><li class="list-options__suggestion"><a class="list-options__link" href="http://google.com/busca/?q=neymar"><b>neymar</b></a></li><li class="list-options__suggestion"><a class="list-options__link" href="http://google.com/busca/?q=neymar no barcelona"><b>neymar</b> no barcelona</a></li><li class="list-options__suggestion"><a class="list-options__link" href="http://google.com/busca/?q=gol do neymar">gol do <b>neymar</b></a></li><li class="list-options__default"><a class="list-options__default--title" href="http://google.com/busca/?q=neymar"><span>buscar </span><span class="list-options__search-by">'neymar'</span><span>na Teste.com</span></a></li><li class="list-options__default"><a class="list-options__default--title" href="http://google.com/?q=neymar"><span>buscar </span><span class="list-options__search-by">'neymar'</span><span>na Web</span></a></li>`
Ready to run.
Test | Ops/sec | |
---|---|---|
removeChildFirst |
| ready |
removeChildLast with display="none" |
| ready |
child.remove() |
| ready |
removeChildLast |
| ready |
innerHTML |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.