Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 YaBrowser/17.11.0.2191 Yowser/2.5 Safari/537.36
Yandex Browser 17
Windows 7
Desktop
6 years ago
Test name Executions per second
querySelector 921591.6 Ops/sec
getElementsByClassName 1266574.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName


;