Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
clientWidth / clientHeight 1097602.1 Ops/sec
offsetWidth / offsetHeight 1129859.9 Ops/sec
getBoundingClientRect 1587833.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth / clientHeight

  • offsetWidth / offsetHeight

  • getBoundingClientRect