Tests:
-
offsetwidth
-
getBoundingClientRect
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Chrome 141 on Mac OS X 10.15.7
View result in a separate tab
getBoundingClientRect
2.1M/s
View exact numbers
| Test name |
Executions per second |
|
✓
offsetwidth
|
41,103,724 Ops/sec |
|
getBoundingClientRect
|
2,104,316 Ops/sec |
Do you really want to delete benchmark?