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 src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/prototype/1/prototype.js"></script>
<script src="//www.cinsoft.net/mylib099-min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<div id="all">
<div id="header">
<div id="logo">Logo</div>
<ul>
<li><a href="#">List 1</a></li>
<li><a href="#">List 2</a></li>
<li><a href="#">List 3</a></li>
<li><a href="#">List 4</a></li>
</ul>
</div>
<div id="contents">
<div id="main">
<h1>Some paragraph</h1>
<h2>Some paragraph</h2>
<p>Some paragraph</p>
<p>Some paragraph</p>
<ul>
<li><a href="#">List 1</a></li>
<li><a href="#">List 2</a></li>
<li><a href="#">List 3</a></li>
<li><a href="#">List 4</a></li>
</ul>
<h2>Some paragraph</h2>
<p>Some paragraph</p>
<h3>Some paragraph</h3>
<p>Some paragraph</p>
<p>Some paragraph</p>
</div>
<div id="navi">
<p>Some paragraph</p>
<ul>
<li><a href="#">List 1</a></li>
<li><a href="#">List 2</a></li>
<li><a href="#">List 3</a></li>
<li><a href="#">List 4</a></li>
</ul>
</div>
</div>
<div id="footer">
<ul>
<li><a href="#">List 1</a></li>
<li><a href="#">List 2</a></li>
<li><a href="#">List 3</a></li>
<li><a href="#">List 4</a></li>
</ul>
<p id="copyright">Copyright</p>
</div>
</div>
Ready to run.
Test | Ops/sec | |
---|---|---|
.live() |
| ready |
.live() with main |
| ready |
.delegate() |
| ready |
.delegate() on document |
| ready |
.on() |
| ready |
.on() on document |
| ready |
.bind() |
| ready |
.click() |
| ready |
.on() on p |
| ready |
.on() on body |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.