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
<style>
#content { border: 1px solid red; }
#inner { background: #888; }
.a { width: 100px; border: 2px solid white; }
.b { width: 100.0px; border: 2.0px solid white; }
.c { width: 100.4px; border: 2.4px solid white; }
.d { width: 99.6px; border: 1.6px solid white; }
</style>
<div id="content">
<div id="inner">Hello, nurse!</div>
</div>
var inner = document.getElementById('inner');
Ready to run.
Test | Ops/sec | |
---|---|---|
int |
| ready |
float-rounded |
| ready |
float-higher |
| ready |
float-lower |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.