Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Windows
Desktop
4 months ago
Test name Executions per second
getBoundingClientRect 857517.5 Ops/sec
getLocalDOMRect 661781.2 Ops/sec
Access offset properties directly 1262280.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBoundingClientRect

  • getLocalDOMRect

  • Access offset properties directly