Run details:
Mozilla/5.0 (Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36 OPR/33.0.1990.0 OMI/4.6.3.22.release
Opera 33
Linux
Other
8 years ago
Test name Executions per second
querySelector 56717.2 Ops/sec
getElementById 73752.3 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementById