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
const hashA = (new Uint8Array(
[64,19,154,244,62,20,14,231,193,73,181,174,184,221,168,172,157,211,93,81,233,20,235,76,131,70,90,66,132,35,187,43]
)).buffer;
const hashB = (new Uint8Array(
[188,139,87,131,119,30,155,102,43,253,47,73,222,13,133,2,109,194,176,18,45,137,70,158,108,51,226,148,4,67,5,239]
)).buffer;
function compare(a, b) {
return a.every((v, k) => v === b[k]);
}
Ready to run.
Test | Ops/sec | |
---|---|---|
Uint8Array |
| ready |
Uint16Array |
| ready |
Uint32Array |
| ready |
BigUint64Array |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.