Run details:
Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
getElementById 511054.4 Ops/sec
querySelector 320072.7 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector


;