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
speed comparissons slice and for
<script>
var a = ['z','a','q','w','s','x','c','d','v','e','f','t','r','g','t','m','y','h','t','y','j','i','o','l','f','s','d','j','n','m','c','u','i','e','w','h','r',',','w','e','n','r','w','n','e','b','f','2','3','4','2','3','4','n','j','m','f','d','s','j','d','y','f','g','2','3','h','f','s','j','d','b','m','f','h','s','d','h','f','o','2','3','i','z','a','q','w','s','x','c','d','v','e','f','t','r','g','t','m','y','h','t','y','j','i','o','l','f','s','d','j','n','m','c','u','i','e','w','h','r',',','w','e','n','r','w','n','e','b','f','2','3','4','2','3','4','n','j','m','f','d','s','j','d','y','f','g','2','3','h','f','s','j','d','b','m','f','h','s','d','h','f','o','2','3','i','z','a','q','w','s','x','c','d','v','e','f','t','r','g','t','m','y','h','t','y','j','i','o','l','f','s','d','j','n','m','c','u','i','e','w','h','r',',','w','e','n','r','w','n','e','b','f','2','3','4','2','3','4','n','j','m','f','d','s','j','d','y','f','g','2','3','h','f','s','j','d','b','m','f','h','s','d','h','f','o','2','3','i'];
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
slice |
| ready |
for |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.