Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Mac OS X 10.15
Desktop
7 months ago
Test name Executions per second
scrollHeight 26934368.0 Ops/sec
getBoundingClientRect().height 7816919.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • scrollHeight

  • getBoundingClientRect().height