Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
jQuery 3532444.8 Ops/sec
getElementById 3837477.2 Ops/sec
querySelector 3012052.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector