Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Ubuntu
Desktop
7 days ago
Test name Executions per second
clientWidth 3417324.5 Ops/sec
offsetwidth 4571597.0 Ops/sec
window.getComputedStyle 1824706.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle