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
<script>
var num1 = '123';
var num2 = '2.23';
var num3 = '-323';
var num4 = '-423.12';
var num5 = '52300012';
var num6 = '1.21234532623';
var num7 = '-7.1532464523';
var num8 = '0';
var num9 = '1254785';
var num10 = '1023456';
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Number |
| ready |
+ |
| ready |
parseFloat |
| ready |
divide by 1 |
| ready |
1* |
| ready |
-0 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.