Run details:
Mozilla/5.0 (Linux; Android 7.0; NEM-L51) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36
Chrome Mobile 70
Android 7.0
Mobile
5 years ago
Test name Executions per second
getElementById 588536.4 Ops/sec
querySelector 287452.4 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector