Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Linux
Other
6 years ago
Test name Executions per second
jQuery 1190555.6 Ops/sec
getElementById 1539719.0 Ops/sec
querySelector 1317351.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector