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
Array.prototype.get = function(index)
{
if(index < 0)
return this[this.length+index];
return this[index];
}
var x = [1,2,3,4,54,1,2,,6,457,4,53,52,34,2,34,45,357,6325,3,5532,423,43,5325,42,542,6,3256,78,569,87,43,2,342,34,6,23,24,'1243']
Ready to run.
Test | Ops/sec | |
---|---|---|
slice |
| ready |
length - 1 |
| ready |
custom slice |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.