jq152 vs jq16pre trigger

Benchmark created on


Preparation HTML

<script src="http://code.jquery.com/jquery-1.5.2.js"></script>
<script> var $jq15 = jQuery.noConflict(); </script>
<script src="http://code.jquery.com/jquery-git.js"></script>
<script> var $jq16 = jQuery.noConflict(); </script>

<div>
 <p>Test document -- <em>very short</em>!</p>
 <ul>
   <li>First item</li>
   <li>Second Item</li>
 </ul>
</div>

<script>
  var $elem15 = $jq15("li");
  var $elem16 = $jq16("li");
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery 1.5.2
$elem15.data("setme", 42);
ready
jQuery 1.6pre
$elem16.data("setme", 42);
ready

Revisions

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