Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Windows
Desktop
3 years ago
Test name Executions per second
clientHeight 1149793.0 Ops/sec
offsetHeight 1226771.1 Ops/sec
window.getComputedStyle 678191.4 Ops/sec
Multiple: Only _style 255434.5 Ops/sec
Multiple: _style e clientHeight 291471.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientHeight

  • offsetHeight

  • window.getComputedStyle

  • Multiple: Only _style

  • Multiple: _style e clientHeight


;