Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3147.0 Safari/537.36
Chrome 61
Windows 7
Other
7 years ago
Test name Executions per second
getElementsByClassName 217668.8 Ops/sec
querySelectorAll 1196.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementsByClassName

  • querySelectorAll


;