Tests:
-
clientHeight
-
offsetHeight
-
getBoundingClientRect
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Windows
View result in a separate tab
getBoundingClientRect
837K/s
View exact numbers
| Test name |
Executions per second |
|
✓
offsetHeight
|
1,310,362 Ops/sec |
|
clientHeight
|
1,281,814 Ops/sec |
|
getBoundingClientRect
|
837,369 Ops/sec |
Do you really want to delete benchmark?