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
class C {
#pri = 1;
_pro = 1;
pub = 1;
get pri() {
return this.#pri;
}
get pro() {
return this._pro;
}
getPri() {
return this.#pri;
}
getPro() {
return this._pro;
}
}
const c = new C;
const o = {named:1};
Ready to run.
Test | Ops/sec | |
---|---|---|
public field |
| ready |
get "protected" field |
| ready |
get private field |
| ready |
getPro |
| ready |
getPri |
| ready |
named property |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.