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
When compared to IF statements, CASE statement are known to be more effcient in a lot of programming languages. But at work we have realised that when we change all our CASE statements to IF statement the application performance a lot faster.
Ready to run.
Test | Ops/sec | |
---|---|---|
IF Statement |
| ready |
CASE Statement |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.