Run details:
Mozilla/5.0 (Linux; Android 7.0; MHA-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36
Chrome Mobile 76
Android 7.0
Mobile
5 years ago
Test name Executions per second
getElementById 152386.3 Ops/sec
querySelector 586482.6 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector