Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Linux
Desktop
28 days ago
Test name Executions per second
clientHeight 2072341.4 Ops/sec
offsetHeight 1869391.6 Ops/sec
window.getComputedStyle 1509475.2 Ops/sec
Multiple: Only _style 609853.6 Ops/sec
Multiple: _style e clientHeight 626720.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientHeight

  • offsetHeight

  • window.getComputedStyle

  • Multiple: Only _style

  • Multiple: _style e clientHeight