Run details:
Mozilla/5.0 (Linux; Android 10; HD1901) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.99 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
clientWidth 299650.2 Ops/sec
offsetwidth 2685080.5 Ops/sec
window.getComputedStyle 156874.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle