Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
addEventListener 186.3 Ops/sec
addEventListener anon 72.6 Ops/sec
jQuery.on() 19731.7 Ops/sec
jQuery.on() anon 18066.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • addEventListener

  • addEventListener anon

  • jQuery.on()

  • jQuery.on() anon