Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
jQuery - in for loop 48836.9 Ops/sec
jQuery - select all and hide. 110730.6 Ops/sec
jQuery + native dom query selection mix 1643267.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery - in for loop

  • jQuery - select all and hide.

  • jQuery + native dom query selection mix