Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36 OPR/53.0.2907.31 (Edition beta)
Opera 53
Windows
Other
6 years ago
Test name Executions per second
jQuery 398765.2 Ops/sec
querySelectorAll 97698.7 Ops/sec
getElementsByClassName 3588360.5 Ops/sec
jQuery: mixed selector 69647.7 Ops/sec
querySelectorAll: mixed selector 93481.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery: mixed selector

  • querySelectorAll: mixed selector


;