Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Ubuntu
Desktop
one year ago
Test name Executions per second
matchMedia + addListener 376589.5 Ops/sec
resize + innerWidth 2476.5 Ops/sec
HTML Preparation code:
Tests:
  • matchMedia + addListener

  • resize + innerWidth