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

  • 2

  • for


;