Run details:
Mozilla/5.0 (Linux; Android 5.1.1; Nexus 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Safari/537.36
Chrome 71
Android 5.1.1
Desktop
5 years ago
Test name Executions per second
getElementById 231540.8 Ops/sec
querySelector 123182.1 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;