Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 EdgiOS/46.3.26 Mobile/15E148 Safari/605.1.15
Mobile Safari 15
iOS 15.0
Mobile
3 years ago
Test name Executions per second
offsetWidth 4903051.5 Ops/sec
getBoundingClientRect 2210204.5 Ops/sec
canvas 497853.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • offsetWidth

  • getBoundingClientRect

  • canvas