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
var arr = [];
var limit = 1; //previous limit 12500
for (var i = 0; i < limit; i++) {
arr.push(true, false, true, false, 1, 2, 3, 4);
}
// 12500x8 = 1 000 000 elements
Ready to run.
Test | Ops/sec | |
---|---|---|
Concat |
| ready |
Slice |
| ready |
while [ ] |
| ready |
while push |
| ready |
Slice(0) |
| ready |
push apply |
| ready |
while buffer |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.