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 acc1 = 0; // regex
let acc2 = 0; // <=
let acc3 = 0; // with ord() <=
let acc4 = 0; // with ord() <=
let acc5 = 0; // with ord() <=
let acc6 = 0;
let acc7 = 0;
let acc8 = 0;
let acc9 = 0;
const Regex1=(/[^a-zA-Z0-9_]/);
const Regex2=(/[^\w]/);
const Regex3=(/^[\w]+/);
const Regex4=(/[\w]+/y);
Ready to run.
Test | Ops/sec | |
---|---|---|
Regex |
| ready |
Manual |
| ready |
Manual with ord |
| ready |
Manual with ord2 |
| ready |
Regex2 |
| ready |
Regex3 |
| ready |
Regex4 |
| ready |
test |
| ready |
test2 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.