Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/25.0 Chrome/121.0.0.0 Mobile Safari/537.36
Chrome Mobile 121
Android
Mobile
one year ago
Test name Executions per second
clientWidth / clientHeight 108827.3 Ops/sec
offsetWidth / offsetHeight 113293.0 Ops/sec
getBoundingClientRect 107990.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth / clientHeight

  • offsetWidth / offsetHeight

  • getBoundingClientRect