Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Goanna/4.8 Firefox/68.0 PaleMoon/29.0.1
Pale Moon (Firefox Variant) 29
Windows
Desktop
3 years ago
Test name Executions per second
getElementById 4677179.0 Ops/sec
querySelector 1439245.0 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector