Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
querySelector 2071135.1 Ops/sec
querySelectorAll 952753.9 Ops/sec
getElementsByClassName 2509776.2 Ops/sec
querySelector (ID) 1472583.0 Ops/sec
getElementsByID 2773018.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;