Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36
Chrome Mobile 124
Android
Mobile
7 months ago
Test name Executions per second
getElementById 3381240.2 Ops/sec
getElementsByTagName 2059587.1 Ops/sec
querySelector 2289707.8 Ops/sec
getElementsByClassName 1928937.1 Ops/sec
getElementsByName 2364135.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • getElementsByTagName

  • querySelector

  • getElementsByClassName

  • getElementsByName


;