Run details:
Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Mobile Safari/537.36
Chrome Mobile 73
Android
Mobile
5 years ago
Test name Executions per second
getElementById 573835.1 Ops/sec
querySelector 283660.9 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector