Run details:
Mozilla/5.0 (Linux; Android 11; SM-A516N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.70 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
querySelector 1277978.8 Ops/sec
getElementsByClassName 1751676.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName