Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Ubuntu
Desktop
3 months ago
Test name Executions per second
getBoundingClientRect 1358763.6 Ops/sec
getLocalDOMRect 1013473.0 Ops/sec
Access offset properties directly 1885952.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBoundingClientRect

  • getLocalDOMRect

  • Access offset properties directly