Run details:
Mozilla/5.0 (Windows NT 5.1; rv:51.0) Gecko/20100101 Firefox/51.0
Firefox 51
Windows XP
Other
7 years ago
Test name Executions per second
getElementsByClassName 22063.6 Ops/sec
querySelectorAll 2781.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • 1 + 1

  • 2

  • for


;