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="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script>
var $211 = jQuery.noConflict();
</script>
<script src="https://code.jquery.com/jquery-1.8.3.min.js"></script>
<script>
var $183 = jQuery.noConflict();
</script>
<style type="text/css">
.content {
padding: 0px 10px;
margin: 0px 5px;
border: 1px solid orange;
}
</style>
<div class="wrapper">
<div class="innerWrapper">
<div class="button">
<a href="" id="button" class="buttonRef">
<span class="buttonText">Text</span>
</a>
</div>
</div>
</div>
<script>
var context83 = $183("div.wrapper");
var context211 = $211("div.wrapper");
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
outerWidth - Class 2.1.1 |
| ready |
Find - Class 2.1.1 |
| ready |
Get - Class 2.1.1 |
| ready |
Context - Class 2.1.1 |
| ready |
outerWidth - Class 1.6.4 |
| ready |
Context - Class 1.6.4 |
| ready |
Find - Class 1.6.4 |
| ready |
Get - Class 1.6.4 |
| ready |
outerWidth - Class 1.11.1 |
| ready |
outerWidth - Clas 1.4.4 |
| ready |
outerWidth - Class 1.8.3 |
| ready |
Find - Class 1.11.1 |
| ready |
Find - Class 1.8.3 |
| ready |
Find - Class 1.4.4 |
| ready |
Context - Class 1.11.1 |
| ready |
Context - Class 1.8.3 |
| ready |
Get - Class 1.11.1 |
| ready |
Context - Class 1.4.4 |
| ready |
Get - Class 1.8.3 |
| ready |
Get - Class 1.4.4 |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.