Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120
Android
Mobile
10 months ago
Test name Executions per second
querySelector 511602.2 Ops/sec
querySelectorAll 248061.0 Ops/sec
getElementsByClassName 617956.5 Ops/sec
querySelector (ID) 367048.1 Ops/sec
getElementsByID 477459.3 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;