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
check += against +
<script>
var l_count1 = 0;
var l_count2 = 0;
var l_count3 = 0;
var l_count4 = 0.5;
var l_count5 = 0.5;
var l_count6 = 0.5;
var l_count7 = 4294967296;
var l_count8 = 4294967296;
var l_count9 = 4294967296;
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
int += 1 |
| ready |
int + 1 |
| ready |
int++ |
| ready |
float += 1 |
| ready |
float + 1 |
| ready |
float++ |
| ready |
bigint += 1 |
| ready |
bigint + 1 |
| ready |
bigint++ |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.