Run details:
Mozilla/5.0 (Linux; Android 5.1; HUAWEI LYO-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36
Chrome Mobile 71
Android 5.1
Mobile
5 years ago
Test name Executions per second
getElementById 254277.0 Ops/sec
querySelector 134055.8 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector