Run details:
Mozilla/5.0 (Linux; Android 11; SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
getElementById 2719568.5 Ops/sec
querySelector 1399102.9 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;