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
http://stackoverflow.com/questions/5952287/why-is-this-java-code-6x-faster-than-the-identical-c-code
prob5 of euler
<script>
function prob5() {
var i = 20;
while (true) {
if (
(i % 19 === 0) &&
(i % 18 === 0) &&
(i % 17 === 0) &&
(i % 16 === 0) &&
(i % 15 === 0) &&
(i % 14 === 0) &&
(i % 13 === 0) &&
(i % 12 === 0) &&
(i % 11 === 0)
)
{ break; }
i += 20;
}
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
t1 |
| ready |
t2 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.