Test case name | Result |
---|---|
clientWidth | |
offsetwidth | |
window.getComputedStyle | |
BoundingClientRect |
Test name | Executions per second |
---|---|
clientWidth | 1829594.0 Ops/sec |
offsetwidth | 9064632.0 Ops/sec |
window.getComputedStyle | 1170575.0 Ops/sec |
BoundingClientRect | 1549144.0 Ops/sec |