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
8 months ago
Test name Executions per second
getElementById 2597183.0 Ops/sec
getElementsByTagName 1711455.2 Ops/sec
querySelector 1897359.4 Ops/sec
getElementsByClassName 1555696.9 Ops/sec
getElementsByName 1929578.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • getElementsByTagName

  • querySelector

  • getElementsByClassName

  • getElementsByName


;