Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53
Windows 7
Other
7 years ago
Test name Executions per second
jQuery 679352.3 Ops/sec
getElementById 2198417.0 Ops/sec
querySelector 1627873.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector