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="//rawgithub.com/lodash/lodash/master/dist/lodash.min.js">
</script>
var members = ['user 1', 'user 2', 'user 3', 'user 4', 'user 5', 'user 6', 'user 7', 'user 8', 'user 9', 'user 10', 'user 11', 'user 12', 'user 13', 'user 14', 'user 15', 'user 16', 'user 17', 'user 18', 'user 19', 'user 20'];
var username = 'user 17';
Ready to run.
Test | Ops/sec | |
---|---|---|
For loop |
| ready |
Splice |
| ready |
lodash |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.