Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
addEventListener 98.1 Ops/sec
addEventListener anon 43.0 Ops/sec
jQuery.on() 7383.5 Ops/sec
jQuery.on() anon 6672.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • addEventListener

  • addEventListener anon

  • jQuery.on()

  • jQuery.on() anon