HTML Preparation code:
Script Preparation code:
Tests:
  • clientHeight

  • offsetHeight

  • window.getComputedStyle

  • Multiple: Only _style

  • Multiple: _style e clientHeight

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    clientHeight
    offsetHeight
    window.getComputedStyle
    Multiple: Only _style
    Multiple: _style e clientHeight

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 27 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132 on Linux
View result in a separate tab
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