Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Chrome 55
Windows
Other
7 years ago
Test name Executions per second
getElementsByClassName 482276.6 Ops/sec
querySelectorAll 7260.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementsByClassName

  • querySelectorAll