Run details:
Mozilla/5.0 (Android 13; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0
Firefox Mobile 120
Android
Mobile
one year ago
Test name Executions per second
getElementById 1998349.9 Ops/sec
getElementsByTagName 1383094.9 Ops/sec
querySelector 1945333.2 Ops/sec
getElementsByClassName 1242001.8 Ops/sec
getElementsByName 1857667.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • getElementsByTagName

  • querySelector

  • getElementsByClassName

  • getElementsByName