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
<div id="dog-gender" class="group toggle" data-value="female">
<a href="#" class="btn btn-primary" data-group="gender" data-value="male">Male</a>
<a href="#" class="btn btn-primary selected" data-group="gender" data-value="female">Female</a>
</div><script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
var gender = $('#dog-gender a:first-child');
gender.trigger('click');
gender.on('click', toggleButton);
Ready to run.
Test | Ops/sec | |
---|---|---|
vanilla |
| ready |
jquery |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.