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 o1 = { q: 5, w: 10, e: 'asd' };
var o2 = { a: 20, s: 30, d: new Date() };
var o3 = { q: 11.1, a: 22 };
var o_onceField = { q2: 5 };
var o_manyFields = { a2: 20, s2: 30, d2: new Date(), w2: 10, e2: 'asd', z2: 11.1, x2: null, c2: 22 };
Ready to run.
Test | Ops/sec | |
---|---|---|
{}, o1 |
| ready |
{}, o_onceField |
| ready |
{}, o_manyFields |
| ready |
{}, { many fields } |
| ready |
{}, o1, o2 |
| ready |
{}, o1, o3 |
| ready |
{}, o2, o3 |
| ready |
{}, o_onceField , o_manyFields |
| ready |
{}, o1, o2, o3 |
| ready |
o3, o2, o1 |
| ready |
o3, o2, o1, o_onceField |
| ready |
o3, o2, o1, o_onceField, o_manyFields |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.