Test name | Executions per second |
---|---|
clientWidth / clientHeight (destructured and renamed) | 720988.0 Ops/sec |
clientWidth / clientHeight (destructured) | 725681.1 Ops/sec |
clientWidth / clientHeight (simple property access) | 595121.9 Ops/sec |
getBoundingClientRect() (destructured) | 1090154.0 Ops/sec |
getBoundingClientRect() (simple property access) | 1086618.0 Ops/sec |
getComputedStyle | 395454.5 Ops/sec |