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 a = [10,23,1,5,66,4,7773,2345,234,345677,879,451,763,138,4572],
hash = {
10:true,23:true,1:true,5:true,66:true,4:true,7773:true,2345:true,234:true,345677:true,879:true,451:true,763:true,138:true,4572:true
}
Ready to run.
Test | Ops/sec | |
---|---|---|
indexOf |
| ready |
hash |
| ready |
indeOf - first element on the array |
| ready |
hash - first element on the array |
| ready |
indeOf - last element on the array |
| ready |
hash - last element on the array |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.