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>
function a() {}
a.prototype = {
c1: true,
c2: false,
c3: true,
c4: false,
c5: true
}
function c() {}
c.prototype.e1 = true;
c.prototype.e2 = false;
c.prototype.e3 = true;
c.prototype.e4 = false;
c.prototype.e5 = true;
var b = function() {}
b.prototype = {
d1: true,
d2: false,
d3: true,
d4: false,
d5: true
}
var d = function() {}
d.prototype.e1 = true;
d.prototype.e2 = false;
d.prototype.e3 = true;
d.prototype.e4 = false;
d.prototype.e5 = true;
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
var |
| ready |
funct |
| ready |
var indiv. proto |
| ready |
func indiv. proto |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.