Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Linux
Desktop
one year ago
Test name Executions per second
jQuery 275390.8 Ops/sec
querySelectorAll 639580.4 Ops/sec
getElementsByClassName 3038327.5 Ops/sec
jQuery mixed selector 176609.7 Ops/sec
querySelectorAll mixed selector 536512.4 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery mixed selector

  • querySelectorAll mixed selector