Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Pixel 2 Build/OPM2.171026.006.G1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
querySelector 1057419.6 Ops/sec
getElementsByClassName 1394681.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName