Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Chrome 66
Linux
Other
6 years ago
Test name Executions per second
jQuery 1354279.0 Ops/sec
getElementById 4248451.0 Ops/sec
querySelector 3437591.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector