usage ON

Benchmark created on


Preparation HTML

<div id="test1">
  <div id="test2">
  </div>
  <div id="test3">
    <div id="test4">
    </div>
  </div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
muliple event
$('#test4').on('keyup click mouseup', function(){  });

$('#test4').on('click focus', function(){  });

$('#test4').click();
ready
mutiplue on
$('#test4').on('click', function(){ });

$('#test4').on('keyup', function(){  });

$('#test4').on('mouseup', function(){  });

$('#test4').on('click focus', function(){  });


$('#test4').click();
ready
multiple concat
$('#test4').on('click', function(){  })
.on('keyup', function(){  })
.on('mouseup', function(){  })
.on('click focus', function(){  });


$('#test4').click();
ready

Revisions

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