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
Test performance of adding a transform3d transition to an element with overflow hidden against an element with overflow visible. Webkit only for now
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<style>
.noOverflow { height: 250px; width: 1000px; }
.hasOverflow { overflow: hidden; height: 250px; width: 1000px; }
.animate { -webkit-transition: -webkit-transform 20ms; }
.child {
width: 250px;
height: 250px;
float: left;
-webkit-transform-style: preserve-3d;
-webkit-transform: translate3d(0,0,0);
}
</style>
<div id="a"></div>
Ready to run.
Test | Ops/sec | |
---|---|---|
Add transition without overflow:hidden |
| ready |
Add transition with overflow: hidden |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.