Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Chrome 69
Windows
Desktop
5 years ago
Test name Executions per second
getElementById 31541.6 Ops/sec
parent.querySelector 30647.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • parent.querySelector


;