Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Ubuntu
Desktop
2 years ago
Test name Executions per second
jQuery 5685110.0 Ops/sec
getElementById 7658823.5 Ops/sec
querySelector 3946504.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector