Test name | Executions per second |
---|---|
clientWidth / clientHeight (destructured and renamed) | 1139381.2 Ops/sec |
clientWidth / clientHeight (destructured) | 1177643.1 Ops/sec |
clientWidth / clientHeight (simple property access) | 1201504.9 Ops/sec |
getBoundingClientRect() (destructured) | 1275903.5 Ops/sec |
getBoundingClientRect() (simple property access) | 1326045.8 Ops/sec |