Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Mobile Safari/537.36
Chrome Mobile 134
Android
Mobile
one year ago
getBoundingClientRect() (destructured)
691K/s
getBoundingClientRect() (simple property access)
685K/s
offsetWidth / offsetHeight (destructured)
552K/s
offsetWidth / offsetHeight (simple property access)
543K/s
offsetWidth / offsetHeight (destructured and renamed)
536K/s
View exact numbers
Test name Executions per second
getBoundingClientRect() (destructured) 691,212 Ops/sec
getBoundingClientRect() (simple property access) 685,418 Ops/sec
offsetWidth / offsetHeight (destructured) 552,402 Ops/sec
offsetWidth / offsetHeight (simple property access) 542,820 Ops/sec
offsetWidth / offsetHeight (destructured and renamed) 535,715 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: