Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
Chrome 62
Windows 8.1
Other
7 years ago
Test name Executions per second
query 38175.3 Ops/sec
querySelectorAll 46221.1 Ops/sec
getElementByTagName 3361105.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • query

  • querySelectorAll

  • getElementByTagName


;