Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Linux
Desktop
6 months ago
Test name Executions per second
getBoundingClientRect 1759017.6 Ops/sec
getLocalDOMRect 1323716.5 Ops/sec
Access offset properties directly 2668988.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBoundingClientRect

  • getLocalDOMRect

  • Access offset properties directly