Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
Chrome 63
Fedora
Other
6 years ago
Test name Executions per second
jQuery 260826.0 Ops/sec
querySelectorAll 84694.8 Ops/sec
getElementsByClassName 3440469.2 Ops/sec
jQuery: mixed selector 47381.0 Ops/sec
querySelectorAll: mixed selector 81982.3 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector