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 Iobj = {
SUPPORT_ACTIONS: 0x1
};
var obj = {
actions: 'action1 action2 action3',
support: Iobj.SUPPORT_ACTIONS
};
var biggerObj = {
ypjlvs:23,odypvr:3,kkflew:4,exgqfq:15,yjxkft:16,enwdhe:16,rjqoyx:21,ahppci:15,rgzdka:25,mpohsu:25,
actions: 'action1 action2 action3',
support: Iobj.SUPPORT_ACTIONS,
val1: 1,val2:1, val3:1
}
Ready to run.
Test | Ops/sec | |
---|---|---|
hasOwnProperty |
| ready |
in |
| ready |
undefined |
| ready |
undefined cmp |
| ready |
binary indicator |
| ready |
undefined cmp (dynamic) |
| ready |
undefined dynamic |
| ready |
hasOwnProperty prototype |
| ready |
hasOwnProperty on literal |
| ready |
Truthy |
| ready |
not void 0 |
| ready |
in bigger |
| ready |
undefined bigger |
| ready |
mytest |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.