Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Windows
Desktop
one year ago
Test name Executions per second
clientHeight 1433725.5 Ops/sec
offsetHeight 1371136.1 Ops/sec
window.getComputedStyle 814643.9 Ops/sec
Multiple: Only _style 276940.9 Ops/sec
Multiple: _style e clientHeight 374218.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientHeight

  • offsetHeight

  • window.getComputedStyle

  • Multiple: Only _style

  • Multiple: _style e clientHeight


;