Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
clientWidth 3153181.5 Ops/sec
offsetwidth 4592378.0 Ops/sec
window.getComputedStyle 1425250.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle


;