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
<div id="one">d1</div>
<div id="two">d2</div>
<div id="three">d3</div>
var d1 = document.getElementById('one').style;
var d2 = document.getElementById('two').style;
var d3 = document.getElementById('three').style;
Ready to run.
Test | Ops/sec | |
---|---|---|
color names |
| ready |
short hex codes |
| ready |
long hex codes |
| ready |
rgb codes |
| ready |
rgba |
| ready |
hsl |
| ready |
hsla |
| ready |
hsl / a |
| ready |
long hex codes + alpha |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.