Run details:
Mozilla/5.0 (Linux; Android 6.0.1; KIW-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Mobile Safari/537.36
Chrome Mobile 94
Android 6.0.1
Mobile
2 years ago
Test name Executions per second
getElementById 369372.5 Ops/sec
querySelector 201054.1 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector