Run details:
Mozilla/5.0 (Linux; Android 10; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.68 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
querySelector 1664300.1 Ops/sec
getElementsByClassName 2017057.1 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName