Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Mac OS X 10.15
Desktop
3 months ago
Test name Executions per second
clientHeight 7065394.0 Ops/sec
offsetHeight 6314260.5 Ops/sec
window.getComputedStyle 6251313.0 Ops/sec
Multiple: Only _style 2433754.8 Ops/sec
Multiple: _style e clientHeight 2497633.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientHeight

  • offsetHeight

  • window.getComputedStyle

  • Multiple: Only _style

  • Multiple: _style e clientHeight