Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36
Chrome Mobile 122
Android
Mobile
9 months ago
Test name Executions per second
form.elements 590987.6 Ops/sec
getElementsByTagName 626475.7 Ops/sec
querySelectorAll 383345.2 Ops/sec
getElementsByClassName 674780.7 Ops/sec
getElementsByName 741018.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • form.elements

  • getElementsByTagName

  • querySelectorAll

  • getElementsByClassName

  • getElementsByName