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
this tests to see if it's better to add a piece of text into HTML one piece at a time within a for loop, or if it's better to complete the loop and then print everything
<div id="myDiv"></div>
<style>
#myDiv{
width: 300px;
height: 100px;
border: 1px dotted grey;
}</style>
Ready to run.
Test | Ops/sec | |
---|---|---|
inside |
| ready |
after |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.