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

  • getElementsByClassName