s1

Benchmark created by siamak on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery live
jQuery('input.ss2').live('click', function(){
   var x=4;
   return x*2;
});
ready
jQuery delegate
jQuery('input').delegate('.ss2', function(){
   var x=4;
   return x*2;
});
ready

Revisions

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

  • Revision 1: published by siamak on