Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
clientWidth 3134669.8 Ops/sec
offsetwidth 4256877.5 Ops/sec
window.getComputedStyle 1616421.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle


;