Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Windows
Desktop
one year ago
getBoundingClientRect() (destructured)
568K/s
getBoundingClientRect() (simple property access)
550K/s
offsetWidth / offsetHeight (destructured)
497K/s
offsetWidth / offsetHeight (destructured and renamed)
462K/s
offsetWidth / offsetHeight (simple property access)
452K/s
View exact numbers
Test name Executions per second
getBoundingClientRect() (destructured) 567,836 Ops/sec
getBoundingClientRect() (simple property access) 549,661 Ops/sec
offsetWidth / offsetHeight (destructured) 497,157 Ops/sec
offsetWidth / offsetHeight (destructured and renamed) 462,383 Ops/sec
offsetWidth / offsetHeight (simple property access) 451,657 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: