Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Firefox Mobile 119
Android
Mobile
one year ago
Test name Executions per second
querySelector 534646.0 Ops/sec
querySelectorAll 243186.0 Ops/sec
getElementsByClassName 1031377.1 Ops/sec
querySelector (ID) 540992.7 Ops/sec
getElementsByID 1053102.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;