Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0.1 Waterfox/52.0.1
Firefox 52
Windows
Other
7 years ago
Test name Executions per second
getElementsByClassName 55414.3 Ops/sec
querySelectorAll 2191.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementsByClassName

  • querySelectorAll