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 obj = {
actions: true
};
var __hasProp = Object.prototype.hasOwnProperty;
localStorage.setItem('actions', 'true');
Ready to run.
Test | Ops/sec | |
---|---|---|
hasOwnProperty |
| ready |
in |
| ready |
bool (dynamic) |
| ready |
bool (coherency check) |
| ready |
hasOwnProperty (2) |
| ready |
in (2) |
| ready |
bool (dynamic) (2) |
| ready |
bool (coherency check) (2) |
| ready |
hasOwnProperty closure |
| ready |
hasOwnProperty closure(2) |
| ready |
is undefined |
| ready |
localStorage true |
| ready |
localStorage3 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.