Run details:
Mozilla/5.0 (Linux; Android 11; HD1901) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
querySelector 1136388.1 Ops/sec
getElementsByClassName 1674463.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName