Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
Chrome 65
Linux
Desktop
6 years ago
Test name Executions per second
querySelector 1929270.1 Ops/sec
getElementById 3036249.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementById


;