Run details:
Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.92 Safari/537.36
Chrome 76
Windows
Desktop
4 years ago
Test name Executions per second
querySelector 639787.4 Ops/sec
getElementById 1189567.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector

  • getElementById


;