Run details:
Mozilla/5.0 (Linux; Android 6.0; HTC One M9_Prime Camera Edition) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36
Chrome Mobile 72
Android 6.0
Mobile
5 years ago
Test name Executions per second
querySelector 431364.4 Ops/sec
getElementsByClassName 605075.9 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName