Run details:
Mozilla/5.0 (Linux; Android 12; moto g(60)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
clientWidth 133901.2 Ops/sec
offsetwidth 1765929.5 Ops/sec
window.getComputedStyle 66485.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • clientWidth

  • offsetwidth

  • window.getComputedStyle