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 108.6 Ops/sec
addEventListener anon 51.3 Ops/sec
jQuery.on() 8087.0 Ops/sec
jQuery.on() anon 8038.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • addEventListener

  • addEventListener anon

  • jQuery.on()

  • jQuery.on() anon


;