Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36 OPR/83.0.0.0
Opera Mobile 83
Android
Mobile
2 months ago
Test name Executions per second
clientWidth 145421.5 Ops/sec
offsetwidth 2189771.5 Ops/sec
window.getComputedStyle 97569.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle