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
var keyCode = 100;
var keyCodeRanges = [
[48, 57], // 0-9
[65, 90], // a-z
[96, 107], // Numpad0-Numpad9(96-105), NumpadMultiply(106), NumpadAdd(107)
[109, 111], // NumpadSubtract(109), NumpadDecimal(110), NumpadDivide(111)
[186, 192], // ;=,-./
[219, 222] // [\|]'
];
Ready to run.
Test | Ops/sec | |
---|---|---|
If condition |
| ready |
Loop |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.