Test case name | Result |
---|---|
clientWidth | |
offsetwidth | |
window.getComputedStyle | |
BoundingClientRect |
Test name | Executions per second |
---|---|
clientWidth | 1829593.9 Ops/sec |
offsetwidth | 9064632.0 Ops/sec |
window.getComputedStyle | 1170574.9 Ops/sec |
BoundingClientRect | 1549144.4 Ops/sec |