Test name | Executions per second |
---|---|
offsetWidth / offsetHeight (destructured and renamed) | 539684.1 Ops/sec |
offsetWidth / offsetHeight (destructured) | 466159.6 Ops/sec |
offsetWidth / offsetHeight (simple property access) | 568488.9 Ops/sec |
getBoundingClientRect() (destructured) | 690420.1 Ops/sec |
getBoundingClientRect() (simple property access) | 712553.1 Ops/sec |