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 ret;
var key = {
'com': '138964442918995',
'it': '168989616627068',
'in': '434092060044983'
}
function returnKeyObj(env) {
return key[env] || '140369952799772'
}
function returnKeySwitch(env) {
switch (env) {
case 'com': // live
return '138964442918995';
case 'it': // staging
return '168989616627068';
case 'in': // prestaging
return '434092060044983';
default: // development
return'140369952799772';
}
}
Ready to run.
Test | Ops/sec | |
---|---|---|
Switch |
| ready |
Obj(env) |
| ready |
Obj |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.