Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
one year ago
getBoundingClientRect() (destructured)
323K/s
getBoundingClientRect() (simple property access)
322K/s
clientWidth / clientHeight (destructured)
304K/s
clientWidth / clientHeight (destructured and renamed)
295K/s
clientWidth / clientHeight (simple property access)
290K/s
View exact numbers
Test name Executions per second
getBoundingClientRect() (destructured) 323,280 Ops/sec
getBoundingClientRect() (simple property access) 322,171 Ops/sec
clientWidth / clientHeight (destructured) 304,399 Ops/sec
clientWidth / clientHeight (destructured and renamed) 295,490 Ops/sec
clientWidth / clientHeight (simple property access) 290,162 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: