Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Ubuntu
Desktop
3 months ago
Test name Executions per second
jQuery 1491148.5 Ops/sec
querySelectorAll 1136062.0 Ops/sec
getElementsByClassName 10538581.0 Ops/sec
jQuery mixed selector 582693.4 Ops/sec
querySelectorAll mixed selector 879237.4 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • querySelectorAll

  • getElementsByClassName

  • jQuery mixed selector

  • querySelectorAll mixed selector