Run details:
Mozilla/5.0 (Linux; Android 12; SM-N986B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
form.elements 702455.8 Ops/sec
getElementsByTagName 822167.5 Ops/sec
querySelectorAll 367909.8 Ops/sec
getElementsByClassName 797975.5 Ops/sec
getElementsByName 890436.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • form.elements

  • getElementsByTagName

  • querySelectorAll

  • getElementsByClassName

  • getElementsByName


;