Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
getBoundingClientRect 1417430.1 Ops/sec
getLocalDOMRect 714475.1 Ops/sec
Access offset properties directly 1955590.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBoundingClientRect

  • getLocalDOMRect

  • Access offset properties directly