Run details:
Mozilla/5.0 (Linux; Android 10; SM-J400F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36
Chrome Mobile 111
Android
Mobile
one year ago
Test name Executions per second
getElementById 477101.3 Ops/sec
getElementsByTagName 262235.5 Ops/sec
querySelector 301708.5 Ops/sec
getElementsByClassName 265115.3 Ops/sec
getElementsByName 304052.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • getElementsByTagName

  • querySelector

  • getElementsByClassName

  • getElementsByName


;