Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-G991B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.2 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
matchMedia + addListener 87402.1 Ops/sec
resize + innerWidth 3510.7 Ops/sec
HTML Preparation code:
Tests:
  • matchMedia + addListener

  • resize + innerWidth