Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36
Chrome Mobile 119
Android
Mobile
one year ago
Test name Executions per second
querySelector 2201137.5 Ops/sec
querySelectorAll 999487.8 Ops/sec
getElementsByClassName 2615042.5 Ops/sec
querySelector (ID) 1267420.1 Ops/sec
getElementsByID 1990154.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;