Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Ubuntu
Desktop
3 years ago
Test name Executions per second
clientWidth 2129951.2 Ops/sec
offsetwidth 3318452.8 Ops/sec
window.getComputedStyle 848320.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle