Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.124 YaBrowser/22.9.3.894 Yowser/2.5 Safari/537.36
Yandex Browser 22
Linux
Desktop
one year ago
Test name Executions per second
getElementById + getElementByClass 2050426.9 Ops/sec
querySelector 1899853.8 Ops/sec
HTML Preparation code:
Tests:
  • getElementById + getElementByClass

  • querySelector


;