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

  • getElementsByClassName