jQuery-Animate-Enhanced

JavaScript performance comparison

Revision 3 of this test case created

Info

Performance comparison for: http://playground.benbarnett.net/jquery-animate-enhanced/

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="https://raw.github.com/benbarnett/jQuery-Animate-Enhanced/master/scripts/src/jquery.animate-enhanced.js">
</script>
<div id="animateme">
  Animate Me!
</div>
<script>
  $('#animateme').width(200);
</script>

Preparation code output

Animate Me!

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
enhanced 2d
$('#animateme').animate({
  left: '+=200px',
  width: 300
}, 500);
pending…
enhanced 3d
$('#animateme').animate({
  left: '+=200px',
  width: 300,
  useTranslate3d: true
}, 500);
pending…
normal
$('#animateme').animate({
  left: '+=200px',
  width: 300,
  avoidTransforms: true
}, 500);
pending…
enhanced 2d leaveTransforms
$('#animateme').animate({
  left: '+=200px',
  width: 300,
  leaveTransforms: true
}, 500);
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment