Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Mac OS X 10.13
Desktop
4 years ago
Test name Executions per second
getElementById 3355050.0 Ops/sec
querySelector 2695612.2 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;