Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 YaBrowser/23.5.1.714 Yowser/2.5 Safari/537.36
Yandex Browser 23
Windows
Desktop
one year ago
Test name Executions per second
addEventListener 48.6 Ops/sec
addEventListener anon 45.9 Ops/sec
jQuery.on() 7610.8 Ops/sec
jQuery.on() anon 5694.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • addEventListener

  • addEventListener anon

  • jQuery.on()

  • jQuery.on() anon