Run details:
Mozilla/5.0 (Linux; Android 9; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
5 years ago
Test name Executions per second
querySelector 1112661.5 Ops/sec
getElementsByClassName 1571738.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName