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
8 months ago
Test name Executions per second
querySelector 911014.3 Ops/sec
querySelectorAll 511431.9 Ops/sec
getElementsByClassName 1014531.7 Ops/sec
querySelector (ID) 707027.4 Ops/sec
getElementsByID 767695.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;