Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Linux
Desktop
4 years ago
Test name Executions per second
clientHeight 2623999.2 Ops/sec
offsetHeight 2450140.0 Ops/sec
window.getComputedStyle 1135549.4 Ops/sec
Multiple: Only _style 416898.5 Ops/sec
Multiple: _style e clientHeight 498637.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientHeight

  • offsetHeight

  • window.getComputedStyle

  • Multiple: Only _style

  • Multiple: _style e clientHeight


;