Run details:
Mozilla/5.0 (Linux; Android 11; SM-M315F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Mobile Safari/537.36 EdgA/97.0.1072.69
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
getElementById 532.3 Ops/sec
querySelector 24.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementById

  • querySelector