Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85
Windows
Desktop
4 years ago
Test name Executions per second
clientWidth 537195.8 Ops/sec
matchMedia 178408.9 Ops/sec
Get Background Colour from Jquery 116057.7 Ops/sec
before 262434.2 Ops/sec
HTML Preparation code:
Tests:
  • clientWidth

  • matchMedia

  • Get Background Colour from Jquery

  • before


;