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>
<!-- Some small, generic html -->
<div id="root">
<p>This is a <a>link</a><input><input></p>
<div><p><span><span data-foo class="foo">Foo here</span></span></p></div>
<button>Hello</button><button>World</button>
<hr>
</div>
var root = $('#root');
Ready to run.
Test | Ops/sec | |
---|---|---|
data-attr |
| ready |
css |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.