Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 123
iOS 17.4
Mobile
2 years ago
Test name Executions per second
clientWidth / clientHeight 6426961.0 Ops/sec
offsetWidth / offsetHeight 7271418.0 Ops/sec
getBoundingClientRect 3288494.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth / clientHeight

  • offsetWidth / offsetHeight

  • getBoundingClientRect