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="//rawgit.com/lodash/lodash/master/lodash.js"></script>
<script>
var lodash = _.noConflict();
</script>
<script src="//rawgit.com/epeli/underscore.string/master/lib/underscore.string.js"></script>
<script>
var core = _.str;
</script>
<script src="//rawgit.com/megawac/underscore.string/sends-with/lib/underscore.string.js"></script>
<script>
var mega = _.str;
</script>
var string = lodash.range(100).join(",");
var ends = string.slice(-11);
Ready to run.
Test | Ops/sec | |
---|---|---|
lodash.endsWith |
| ready |
epeli/master endsWith |
| ready |
#345/endsWith |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.