Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/604.1.17 (KHTML, like Gecko) Version/10.2 Safari/604.1.17
Safari 10
Mac OS X 10.12.4
Other
7 years ago
Test name Executions per second
jQuery 2139011.2 Ops/sec
getElementById 4649883.5 Ops/sec
querySelector 3080002.2 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector