Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
Chrome 54
Linux
Other
8 years ago
Test name Executions per second
getElementsByClassName 361659.9 Ops/sec
querySelectorAll 3584.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementsByClassName

  • querySelectorAll