Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36
Chrome 91
Mac OS X 10.13.6
Desktop
3 years ago
Test name Executions per second
jQuery 1004940.2 Ops/sec
getElementById 2948104.0 Ops/sec
querySelector 1828231.8 Ops/sec
HTML Preparation code:
Tests:
  • jQuery

  • getElementById

  • querySelector