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 3260120.5 Ops/sec
Vanilla JS 3492867.0 Ops/sec
querySelector 2820552.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector