Run details:
Mozilla/5.0 (Android 10; Mobile; rv:128.0) Gecko/128.0 Firefox/128.0
Firefox Mobile 128
Android
Mobile
one month ago
Test name Executions per second
getElementById 5620332.5 Ops/sec
querySelector 4296780.0 Ops/sec
getElementsByClassName 4441820.5 Ops/sec
querySelectorAll 1764846.2 Ops/sec
querySelector class 3984907.5 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • getElementsByClassName

  • querySelectorAll

  • querySelector class