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>
.bold {
font-weight: bold;
}
.right {
text-align: right;
}
.green {
color: green;
}
.big {
font-size: 45px;
}
.italic {
font-style: italic;
}
.combined {
font-weight: bold;
text-align: right;
color: green;
font-size: 45px;
font-style: italic;
}
</style>
Ready to run.
Test | Ops/sec | |
---|---|---|
Many classes (classlist) |
| ready |
Many classes (className) |
| ready |
Inline styles as an object |
| ready |
Individual inline styles |
| ready |
Combined single class |
| ready |
Inline styles as a style attribute. |
| ready |
Inline styles as a cssText |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.