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
let a = 1;
let b = 2;
let c = 1;
let aa = "a";
let bb = "b";
let cc = "a";
let aaa = "abcdefg";
let bbb = "abcdefgh";
let ccc = "abcdefg";
let aaaa = 1.1;
let bbbb = 2.2;
let cccc = 1.1;
const f = Math.random() > 0.5;
Ready to run.
Test | Ops/sec | |
---|---|---|
compare inequal numbers |
| ready |
compare equal numbers |
| ready |
compare numbers with unpredictable result |
| ready |
compare strings with unpredictable result |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.