Run details:
Mozilla/5.0 (Linux; Android 9; SM-G965F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.92 Mobile Safari/537.36
Chrome Mobile 77
Android
Mobile
5 years ago
Test name Executions per second
querySelector 1020684.2 Ops/sec
getElementsByClassName 1327343.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName