Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
Chrome 55
Mac OS X 10.10.5
Desktop
5 years ago
Test name Executions per second
querySelectorAll 799763.2 Ops/sec
getElementsByClassName 3311889.5 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll

  • getElementsByClassName