Run details:
Mozilla/5.0 (Linux; Android 7.1.1; OPPO A77) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.93 Mobile Safari/537.36
Chrome Mobile 79
Android 7.1.1
Mobile
4 years ago
Test name Executions per second
clientWidth 118005.5 Ops/sec
offsetwidth 606060.1 Ops/sec
window.getComputedStyle 59970.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle


;