Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6
Safari 11
Mac OS X 10.13.3
Other
2025 years ago
Test name Executions per second
jQuery 2655789.5 Ops/sec
getElementById 6239626.5 Ops/sec
querySelector 3995603.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector