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
<script src="//ajax.googleapis.com/ajax/libs/ext-core/3.1.0/ext-core.js">
</script>
<script>
var pi = Math.PI
var a = new Array(10000), e;
var a = 1;
var zeta= (function (aValue) {
var something = aValue;
return {
someValue: 1,
beta: {
someValue: 2,
gamma: {
someValue: 3,
delta: {
someValue: 4,
epsilon: {
someValue: 1
}
}
}
}
};
}(a));
var alpha= {
someValue: 1,
beta: {
someValue: 2,
gamma: {
someValue: 3,
delta: {
someValue: 4,
epsilon: {
someValue: 1
}
}
}
}
};
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Single access |
| ready |
Three Deep |
| ready |
Five Deep |
| ready |
Single Closure |
| ready |
Three Closure |
| ready |
Five Closure. |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.