Test name | Executions per second |
---|---|
clientWidth / clientHeight (destructured and renamed) | 505425.2 Ops/sec |
clientWidth / clientHeight (destructured) | 562167.9 Ops/sec |
clientWidth / clientHeight (simple property access) | 547250.5 Ops/sec |
getBoundingClientRect() (destructured) | 698981.1 Ops/sec |
getBoundingClientRect() (simple property access) | 621487.6 Ops/sec |