Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Chrome 54
Mac OS X 10.11.1
Other
8 years ago
Test name Executions per second
jQuery 878490.4 Ops/sec
getElementById 2822501.0 Ops/sec
querySelector 2414574.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector