Native Browser events vs jquery trigger

JavaScript performance comparison

Test case created by John K Paul and last updated

Preparation code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="https://johnkpaul.github.com/jquery-simulate/jquery.simulate.js">
</script>
      
<script>
Benchmark.prototype.setup = function() {
  var $el = jQuery("<div id='test'></div>").appendTo("body");
  var el = $el.get(0);
  
  var events = [];
  $el.on("click", function(e) {
    events.push(e);
  });

};

Benchmark.prototype.teardown = function() {
  $el.remove();

};
</script>

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
jQuery trigger
$el.trigger("click");
pending…
jQuery triggerHandlers
$el.triggerHandler("click");
pending…
native event
var mouseEvent = document.createEvent("MouseEvents");
mouseEvent.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
el.dispatchEvent(mouseEvent);
pending…
native event through simulate plugin
$el.simulate("click");
pending…

Compare results of other browsers

Revisions

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

2 Comments

ninest123 commented :

mt0507 ralph lauren outlet online rolex watches christian louboutin outlet coach outlet store nmd shoes nike shoes coach factory outlet coach outlet online adidas yeezy boost louis vuitton michael kors outlet canada goose uk kate spade outlet coach factorty outlet polo outlet louis vuitton handbags kate spade outlet michael kors outlet coach factory outlet canada goose sale cheap mlb jerseys ralph lauren canada goose outlet coach factory outlet jordan shoes coach outlet cheap jordan shoes adidas burberry outlet fitflops pandora jewelry canada goose jackets toms outlet canada goose outlet jordan shoes adidas shoes michael kors outlet hermes handbags michael kors outlet canada ray ban sunglasses discount pandora charms nike shoes jordan shoes canada goose jackets kate spade outlet adidas shoes birkenstock sandals moncler jackets fred perry polo air max 2018 coach factory outlet air max 2019 nike shoes ugg boots ralph lauren sale pandora charms nike outlet pandora outlet asics shoes kate spade outlet store tory burch outlet online oakley sunglasses sale oakley sunglasses nike air max kobe bryant shoes coach outlet coach outlet online canada goose jackets nike store moncler outlet salvatore ferragamo shoes coach outlet canada goose polo ralph lauren outlet canada goose uk coach outlet ugg outlet christian louboutin outlet oakley sunglasses pandora charms canada goose sale nike outlet ugg boots canada goose outlet hermens bags philipp plein outlet birkenstock sandals mbt shoes nmd adidas cheap nike air max new balance outlet cheap jordans kate spade air jordans supreme clothing abercrombie and fitch rolex watches timberland boots coach outlet birkenstocks pandora charms cheap mlb jerseys moncler outlet adidas yeezy kate spade outlet store pandora charms sale clearance canada goose sale michael kors pandora charms michael kors outlet canada ugg boots on sale cheap jordans for sale polo outlet timberland boots michael kors outlet birkenstock shoes pandora charms sale clearance canada goose outlet canada goose red bottoms jordan retro nike outlet store pandora jewelry pandora outlet adidas yeezy fitflops sale jordans polo ralph lauren outlet online new balance shoes fred perry burberry outlet polo ralph lauren outlet online gucci outlet adidas outlet polo ralph lauren outlet online kate spade moncler jackets mont blanc pens louboutin shoes adidas yeezy louis vuitton outlet nike shoes for men ugg outlet cheap nfl jerseys canada goose outlet coach outlet birkenstock sandals coach outlet pandora charms tods outlet pandora jewelry official site nike outlet coach factory outlet online canada goose uk air max 90 birkenstock shoes supreme clothing timberland outlet coach factory outlet adidas nmd coach outlet store coach outlet longchamp outlet nike air max pandora jewelry coach outlet michael kors outlet ugg outlet uggs pandora charms oakley sunglasses kate spade outlet coach outlet pandora kate spade outlet coach factory outlet kate spade handbags adidas superstar burberry outlet store north face outlet birkenstock michael kors outlet canada ugg boots on sale fitflops air max 97 mulberry handbags michael kors outlet fitflops air max 97 cheap nfl jerseys air max 2017 coach canada adidas yeezy moncler jackets nfl jerseys wholesale oakley sunglasses michael kors outlet online longchamp outlet online cheap mlb jerseys china tory burch outlet pandora outlet philipp plein shirt coach outlet air jordan shoes canada goose outlet michael kors outlet coach outlet canada abercrombie coach outlet store uggs canada michael kors outlet clearance moncler outlet canada goose jackets hermes birkin polo ralph lauren outlet online cheap jordans michael kors adidas nmd yeezy 350 boost cheap uggs jordans cheap ray ban sunglasses mlb jerseys ray ban sunglasses moncler jackets outlet birkenstock sandals polo ralph lauren outlet oakley sunglasses christian louboutin ralph lauren ralph lauren outlet hollister clothing ralph lauren outlet cheap ray bans christian louboutin outlet pandora charms sale louboutin shoes moncler outlet ralph lauren sale clearance canada goose outlet coach outlet store cheap oakley sunglasses canada goose outlet jordan shoes coach factory outlet coach outlet ugg boots kate spade kate spade handbags birkenstock outlet air max 2018 polo outlet store yeezy boost prada handbags adidas yeezy boost pandora jewelry valentino shoes ferragamo outlet cheap ray ban sunglasses moncler outlet ralph lauren outlet nike shoes mbt shoes ecco shoes coach outlet nike air max fitflops sale clearance ralph lauren puma shoes pandora jewelry outlet pandora store pandora jewelry valentino shoes outlet coach factory outlet moncler jackets oakley sunglasses nike outlet longchamp outlet coach outlet store online prada outlet adidas nmd coach factory outlet coach outlet store coach outlet store online clearances louis vuitton outlet online supreme clothing jordan shoes michael kors outlet nike outlet online coach outlet pandora jewelry north face jackets vans store red bottoms shoes polo ralph lauren outlet michael kors outlet supreme new york fitflops adidas yeezy louis vuitton outlet store michael kors outlet clearance cheap oakley sunglasses ralph lauren sale clearance coach outlet reebok shoes cheap jordans supra shoes michael kors factory outlet nike free 4.0 cheap jordans free shipping toms outlet ralph lauren sale clearance gucci handbags outlet timberland outlet ralph lauren outlet converse outlet store coach outlet canada goose uk north face jackets cheap jordans coach factory outlet louis vuitton outlet canada goose jackets pandora jewelry outlet michael kors handbags nba jerseys harden vol 1 adidas nmd shoes mcm handbags tiffany and co nike outlet online louis vuitton outlet online coach factory outlet online birkenstock outlet ralph lauren uk tory burch outlet store mbt canada goose jackets canada goose jackets moncler coats skechers shoes ralph lauren uk ultra boost jordan retro 11 michael kors outlet clearance moncler outlet red bottom shoes ugg outlet nike air max outlet pandora charms canada goose fitflops timberland boots outlet mulberry outlet canada goose uk michael kors outlet canada goose mont blanc coach outlet store jordan shoes coach outlet burberry outlet mulberry uk coach outlet coach outlet store nike huarache tory burch outlet adidas nmd nike shoes oakley sunglasses timberland boots uggs kate spade outlet store adidas campus hermes handbags ugg australia ray ban sunglasses discount toms shoes ray ban sunglasses nike free run oakley sunglasses christian louboutin shoes ecco shoes for men yeezy boost mcm outlet oakley sunglasses outlet ray ban sunglasses adidas shoes louis vuitton moncler jackets canada goose outlet adidas yeezy boost pandora jewelry adidas shoes canada goose outlet canada goose jackets uk kevin durant shoes michael kors outlet online canada goose outlet nike zoom michael kors outlet michael kors outlet yeezy boost 350 kate spade bags tory burch outlet coach factory outlet discount oakley sunglasses ray ban sunglasses michael kors outlet air jordan shoes michael kors outlet polo ralph lauren outlet adidas outlet converse shoes coach outlet michael kors handbags ferragamo shoes tiffany and co vans shoes hermes bags hermes outlet ralph lauren outlet cheap oakley sunglasses polo ralph lauren salvatore ferragamo pandora outlet cheap nba jerseys cheap oakley sunglasses coach outlet online yeezy boost fitflops sale clearance pandora jewelry replica watches adidas superstar adidas shoes supra shoes tiffany outlet yeezy boost kate spade outlet store longchamp handbags adidas outlet kate spade handbag valentino shoes coach outlet michael kors outlet clearance adidas originals yeezy boost polo ralph lauren outlet pandora jewelry mulberry bags hermes handbags coach factorty outlet moncler oakey sunglasses uggs outlet michael kors outlet clearance pandora jewelry official site michael kors outlet online air jordans gucci handbags kobe shoes coach outlet ugg outlet christian louboutin fitflops sale clearance uggs pandora charms uk uggs outlet kate spade outlet louboutin shoes ralph lauren outlet fitflops sale cheap jordans ray ban sunglasses mt0507

linying123 commented :

2018.7.21linying

adidas

adidas outlet

vans shoes

jordans

bathing ape

stuart weitzman shoes

tommy hilfiger

nike air max

gucci outlet online

oakley outlet

oakley sunglasses sale

nike blazer

bottega veneta handbags

ray ban

basket nike

nike clothing

carrera sunglasses

dolce and gabbana

nike air max

air max 90

kobe 12

bcbg max

lunette oakley

nike air max

tommy hilfiger

michael kors outlet

pandora jewelry

barbour jackets

dolce & gabbana

longchamp handbags

cheap nfl jerseys

air jordan

air max 2017

hogan

tory burch

nike free

air zoom pegasus

guess handbags

jordans

cartier bracelet

curry 4

nike air force

mulberry handbags

mac cosmetics

ralph lauren

bijoux swarovski

instyler

timberland

montre pas cher

gucci outlet online

nike air max

kobe 9

soccer jerseys

hollister

versace sunglasses

lacoste shoes

yves saint laurent

converse chuck taylor

louboutin shoes

new balance pas cher

basketball jerseys

adidas originals

oakley sunglasses

nike air max

pandora charms

barbour jackets

kevin durant jersey

christian louboutin shoes

giannis antetokounmpo jersey

air max 95

asics shoes

beats headphones

fendi sunglasses

herve leger

armani handbags

germany world cup jersey

nike free run

nike outlet

rolex watches

jordan 12

ray ban occhiali

nike shoes

true religion jeans

champion clothing

longchamp handbags

nike air max

jordan 7s

belgium world cup jerseys

jordan

g-star jeans

fendi handbags

spain world cup jersey

nike outlet store online

balmain jeans

jordan 31

pandora bijoux

jordan 4

wedding dresses

swarovski jewelry

bottega veneta handbags

new balance

coach purse

tommy hilfiger outlet

puma shoes

curry 5

softball bats

abercrombie and fitch

cheap jerseys china

harry winston jewelry

fitflops sale

kobe 10

replica watches

michael kors handbags

kenzo clothing

marc jacobs handbags

michael kors canada

hogan shoes

nike air max

pandora rings

oakley

montre femme

adidas outlet

tod's shoes

calvin klein outlet

balenciaga shoes

nike roshe

jordan

yeezy boost

rolex watches

diesel jeans

oakley sunglasses

salvatore ferragamo shoes

nike vapor max

boy london clothing

nike free run

hermes outlet

jordan shoes

prada

nike blazer

keen sandals

beats by dre

dak prescott jersey

jordan shoes

orologi rolex

james harden jersey

chanel handbags

jordan 11

jordan shoes

guess clothing

jordan 3s

nike free

michael kors

burberry sunglasses

dyson hair dryer

jordan clothing

chrome hearts jewelry

adidas flip-flops

fendi

coach outlet

supra

karen millen

kobe 11

vibram shoes

guess clothing

toms outlet

reebok shoes

antonio brown jersey

alexander mcqueen handbags

nike shoes

kd 9

polo ralph lauren

tory burch outlet

new balance shoes

jordan 2s

air max

ray ban sunglasses

nike huarache

adidas outlet

stuart weitzman

chopard jewelry

adidas outlet

ferragamo handbags

arc'teryx jackets

insanity workout

jordan shoes

nike store

michael kors outlet

christian louboutin

karen millen dresses

burberry outlet

lebron james shoes

asics gel

prada outlet

ralph lauren

jordans

chi flat iron

louboutin outlet

bape clothing

curry 3

air max 95

cheap nfl jerseys

dior handbags

jimmy choo shoes

hermes bags

jordan 1

hogan outlet

burberry outlet online

england world cup jersey

air force 1

dsquared2 outlet

nike mercurial

clarks shoes

vans pas cher

dansko shoes

true religion outlet

salvatore ferragamo sunglasses

iphone case

nike mercurial

nike store

longchamp outlet

ralph lauren outlet

isabel marant shoes

wedding dresses

nike shoes

lacoste jeans

longchamp bags

pandora bracciali

marc jacobs handbags

jimmy choo

polo lacoste

mac cosmetics

swarovski jewelry

kate spade outlet

fossil handbags

nike air max plus

gucci bags

nike tn

salvatore ferragamo

freshjive clothing

brazil world cup jersey

air max 97

jordan xx9

converse shoes

sac longchamp

nike air force

gucci shoes

christian louboutin outlet

kobe 10

air jordan

givenchy handbags

adidas crazy 8

miu miu shoes

jordan 32

chrome hearts

prada handbags

air max 90

lebron 12

ghd hair straighteners

calvin klein jeans

reebok outlet store

pandora jewelry

jordan retro

red bottoms

jordans

michael kors

timberland boots

ray ban

nike shoes canada

10 deep clothing

roshe run

lebron 11

ed hardy

ray ban sunglasses

abercrombie outlet

air max 2017

adidas running shoes

sac vanessa bruno

louboutin pas cher

designer sunglasses

gucci bags

nike roshe

oakley sunglasses

versace handbags

babyliss pro nano titanium

converse shoes

jordan 10s

jimmy choo sunglasses

lunette ray ban

michael kors outlet

insanity workout

fitflop uk

kate spade outlet

nike roshe

oakley sunglasses

nike kyrie 2

bvlgari sunglasses

omega watches

longchamp

kd 10 elite

baseball bats

adidas slides

converse

polo ralph lauren

lululemon sale

kate spade

converse all star

mizuno running shoes

sac michael kors

new balance shoes

sac guess

michael kors handbags

louboutin pas cher

aaron rodgers jersey

mizuno

jordan shoes

ghd hair straighteners

links of london

true religion jeans

mac makeup

burberry bags

nike kyrie 4

adidas superstar

nike roshe

cheap wedding dresses

michael kors outlet

bottega veneta sunglasses

nike air max

huf clothing

dior sunglasses

air max 2018

insanity workout

furla bags

jordan 8s

jordan 6s

jordan 4s

nike outlet

argentina world cup jersey

nike roshe run

abercrombie and fitch

asics running shoes

ralph lauren

true religion jeans

bcbg outlet

jordan 9s

sac longchamp

beats pill

bally shoes

ferragamo shoes

hermes jewelry

adidas soccer cleats

nike air max

sac burberry

mac makeup

nike air more uptempo

celine handbags

ferragamo belts

true religion

replica rolex watches

abercrombie and fitch

montblanc pen

flip flops

michael kors borse

nike store

reebok outlet store

kd shoes

france world cup jersey

tory burch outlet

supra shoes

marc jacobs

adidas zx flux

montre pas cher

adidas outlet

givenchy jewelry

nike air

nike blazer

coach outlet store online

jordan 14s

nike free run

clarisonic mia 2

polo ralph lauren

timberland

chloe bags

christian louboutin

bose headphones

kyrie irving jersey

nfl jerseys

asics gel lyte

nike store

dolce & gabbana sunglasses

nike factory store

air max 90

true religion outlet

manolo blahnik

hermes birkin bag

roshe run

portugal world cup jersey

lululemon outlet

nike free run

skechers sneakers

dansko shoes

salomon shoes

curry 2

valentino shoes

mizuno running shoes

new balance outlet

lunette oakley

dolce and gabbana

chanel bags

polo ralph lauren

nike air max

air max 90

armani sunglasses

beats by dre

alife clothing

michael kors handbags

michael kors outlet

gioielli swarovski

coach outlet

soccer shoes

fitflops sale

burberry clothing

ralph lauren uk

converse

tiffany jewelry

jbl speaker

oakley sunglasses

oakley sunglasses

scarpe nike

nike air max

bulgari jewelry

hollister outlet

dsquared2 jeans

foamposite

michael kors outlet

jordan 13s

hermes uk

basket nike

air max 90

converse shoes

ray ban sunglasses

chaussure nike

basketball shoes

nike air max

jordan 3

oakley sunglasses

salvatore ferragamo shoes

chanel

kids jordans

nike outlet online

gentle monster sunglasses

pandora jewelry

ray ban

adidas trainers

ray ban sunglasses

replica watches

adidas soccer cleats

nike free 5

burberry sale

chloe sunglasses

mulberry handbags

carson wentz jersey

giuseppe zanotti

chloe handbags

jordan 5

kristaps porzingis jersey

toms shoes

vans scarpe

jordan 6

new balance 574

cartier sunglasses

golden goose shoes

ray ban sunglasses

armani jeans

nike outlet

burberry outlet

wedding dresses

montblanc pen

adidas outlet

kd shoes

adidas clothing

parajumpers outlet

iphone x case

goyard handbags

michael kors outlet

ghd hair straighteners

vans outlet

2018.7.21linying