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/jquery.min.js"></script>
<div id="container">
<span class="_f_aaa _f_bbb _f_ccc _f_ddd"></span>
<span class="_f_eee"></span>
<span class="_f_fff"></span>
</div>
<script>
var finalSize = 0;
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
jquery find class |
| ready |
jquery find attr |
| ready |
str find _f_ |
| ready |
jQuery find attr 2 |
| ready |
Native JS |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.