Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36
Chrome Mobile 123
Android
Mobile
8 months ago
Test name Executions per second
querySelector 3687846.0 Ops/sec
querySelectorAll 1727449.9 Ops/sec
getElementsByClassName 4339270.0 Ops/sec
querySelector (ID) 2809028.2 Ops/sec
getElementsByID 3753037.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;