Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Chrome Mobile 66
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
querySelector 432731.7 Ops/sec
getElementsByClassName 424281.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName