Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
Chrome 84
Mac OS X 10.12.3
Desktop
4 years ago
Test name Executions per second
getElementById 2660389.5 Ops/sec
querySelector 1386003.1 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;