Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Chrome 49
Mac OS X 10.8.5
Desktop
2 years ago
Test name Executions per second
querySelectorAll 223721.0 Ops/sec
getElementsByClassName 1417418.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll

  • getElementsByClassName