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
x = 1;
y = 2;
z = 3;
a = 42;
b = 1337;
c = 0;
d = 9;
e = 7;
f = 55;
testClass = function(x,y){
this.x = x;
this.y = y;
};
testClassLarge = function(x,y,z,a,b,c,d,e,f){
this.x = x;
this.y = y;
this.z = z;
this.a = a;
this.b = b;
this.c = c;
this.d = d;
this.e = e;
this.f = f;
};
Ready to run.
Test | Ops/sec | |
---|---|---|
Array |
| ready |
Object |
| ready |
Large array |
| ready |
Large object |
| ready |
New Array |
| ready |
New Array Large |
| ready |
New Class |
| ready |
New Class Large |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.