HTML Preparation code:
Script Preparation code:
Tests:
  • offsetTop

  • getBoundingClientRect

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    offsetTop
    getBoundingClientRect

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 6 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Chrome 88 on Mac OS X 10.15.1
View result in a separate tab
Test name Executions per second
offsetTop 756238.8 Ops/sec
getBoundingClientRect 772167.6 Ops/sec