Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3493.3 Safari/537.36 OPR/56.0.3031.0 (Edition developer)
Opera 56
Linux
Desktop
6 years ago
Test name Executions per second
querySelector 2290564.2 Ops/sec
getElementsByClassName 2837413.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName