Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
9 months ago
Test name Executions per second
addEventListener 47.8 Ops/sec
addEventListener anon 23.2 Ops/sec
jQuery.on() 5558.9 Ops/sec
jQuery.on() anon 5479.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • addEventListener

  • addEventListener anon

  • jQuery.on()

  • jQuery.on() anon