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
Now using TweenMax.set instead of TweenMax.to - i.e immediate and force3D:true for tween.
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/0.7.0/jquery.velocity.min.js"></script>
<div class="test-element" style="width: 100px; height: 100px; background-color:red;"></div>
var $element = $('.test-element');
$element.css('transform', '');
Ready to run.
Test | Ops/sec | |
---|---|---|
Velocity |
| ready |
TweenMax |
| ready |
Jquery |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.