Test name | Executions per second |
---|---|
offsetWidth / offsetHeight (destructured and renamed) | 1011641.3 Ops/sec |
offsetWidth / offsetHeight (destructured) | 1015848.9 Ops/sec |
offsetWidth / offsetHeight (simple property access) | 1021623.8 Ops/sec |
getBoundingClientRect() (destructured) | 1467476.4 Ops/sec |
getBoundingClientRect() (simple property access) | 1493981.2 Ops/sec |