Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_2 like Mac OS X) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.0 Mobile/14F89 Safari/602.1
Mobile Safari 10
iOS 10.3.2
iPhone
7 years ago
Test name Executions per second
jQuery 1729469.8 Ops/sec
getElementById 3980128.5 Ops/sec
querySelector 2814346.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector