cssProps (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script src="https://code.jquery.com/jquery-git.js"></script>
<script> git = jQuery.noConflict(); </script>

<script src="http://gnarf.net/jquery-10413.js"></script>
<script> patched = jQuery.noConflict(); </script>

<script src="http://msherov.ayi.test.areyouinterested.com/js/jquery.js"></script>
<script> patched2 = jQuery.noConflict(); </script>

<div id="test"></div>
<script>
   var div = {
      git: git( "div#test" ),
      patched: patched( "div#test"),
      patched2: patched2( "div#test")
   };
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
css( "display" ) - git
div.git.css( "display" );
ready
css("display") - patched
div.patched.css( "display" );
ready
css("box-sizing") - git
div.git.css( "box-sizing" );
ready
css("box-sizing") - patched
div.patched.css( "box-sizing" );
ready
css("notAProperty") - git
div.git.css("notAProperty");
ready
box-sizing patched2
div.patched2.css( "box-sizing" );
ready
css("notAProperty") - patched2
div.patched2.css("notAProperty");
ready
css("notAProperty") - patched
div.patched.css("notAProperty");
ready
display patched 2
div.patched2.css( "display" );
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.