Run details:
Mozilla/5.0 (Linux; Android 12; SM-G781B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
querySelector 1673543.2 Ops/sec
getElementsByClassName 2091905.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName