Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Chrome 55
Windows 8.1
Other
7 years ago
Test name Executions per second
jQuery 1501627.4 Ops/sec
getElementById 3315983.5 Ops/sec
querySelector 2497549.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector