Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4
Safari 10
Mac OS X 10.12.5
Other
7 years ago
Test name Executions per second
jQuery 1502774.9 Ops/sec
getElementById 3250845.5 Ops/sec
querySelector 2249405.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector