Run details:
Mozilla/5.0 (iPad; CPU OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1
Mobile Safari 10
iOS 10.3.1
iPad
7 years ago
Test name Executions per second
jQuery 589298.1 Ops/sec
getElementById 2051548.2 Ops/sec
querySelector 1251453.9 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector