Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36
Chrome 57
Windows
Other
7 years ago
Test name Executions per second
jQuery 1164629.0 Ops/sec
getElementById 2442077.2 Ops/sec
querySelector 1983468.4 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector