Run details:
Mozilla/5.0 (Linux; Android 11; CPH2145) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
3 years ago
Test name Executions per second
querySelector 1585932.5 Ops/sec
getElementsByClassName 2302715.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName