Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36
Chrome Mobile 132
Android
Mobile
one year ago
getBoundingClientRect() (destructured)
801K/s
getBoundingClientRect() (simple property access)
791K/s
offsetWidth / offsetHeight (destructured and renamed)
647K/s
offsetWidth / offsetHeight (destructured)
644K/s
offsetWidth / offsetHeight (simple property access)
643K/s
View exact numbers
Test name Executions per second
getBoundingClientRect() (destructured) 800,691 Ops/sec
getBoundingClientRect() (simple property access) 790,570 Ops/sec
offsetWidth / offsetHeight (destructured and renamed) 647,097 Ops/sec
offsetWidth / offsetHeight (destructured) 643,892 Ops/sec
offsetWidth / offsetHeight (simple property access) 642,518 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: