Pruebas (v2)

Revision 2 of this benchmark created on


Preparation HTML

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

Test runner

Ready to run.

Testing in
TestOps/sec
1
for(var x = 0;x<=1000;x++){
 var input = $('<input>');
 input.keypress(function(event){
  console.log(event)
 })
 .focusin(function(event){
  console.log(event)
 })
 .focusout(function(event){
  console.log(event)
 });
}
ready
2
for(var x = 0;x<=1000;x++){
 var input = $('<input>');
 input.keypress(function(event){
  console.log(event)
 });
 input.focusin(function(event){
  console.log(event)
 });
 input.focusout(function(event){
  console.log(event)
 });
}
ready

Revisions

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