Run details:
Mozilla/5.0 (Linux; Android 12; SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
offsetWidth 136279.5 Ops/sec
getBoundingClientRect 69641.3 Ops/sec
canvas 115940.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • offsetWidth

  • getBoundingClientRect

  • canvas