Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36
Chrome 57
Windows
Other
7 years ago
Test name Executions per second
jQuery 1338617.9 Ops/sec
getElementById 2947430.5 Ops/sec
querySelector 2293820.5 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector