Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/110.0 Firefox/110.0
Firefox Mobile 110
Android
Mobile
one year ago
Test name Executions per second
querySelector 2147756.0 Ops/sec
querySelectorAll 546866.3 Ops/sec
getElementsByClassName 4104457.0 Ops/sec
querySelector (ID) 2140440.2 Ops/sec
getElementsByID 4045557.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;