Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Linux
Other
7 years ago
Test name Executions per second
jQuery 2323997.8 Ops/sec
getElementById 11249565.0 Ops/sec
querySelector 5126096.0 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector