Run details:
Mozilla/5.0 (Linux; Android 7.1.1; ONEPLUS A3003 Build/NMF26F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.68 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/175.0.0.40.97;]
Chrome Mobile 67
Android 7.1.1
Mobile
6 years ago
Test name Executions per second
getElementById 914269.0 Ops/sec
querySelector 567617.0 Ops/sec
window 745828.9 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window