Run details:
Mozilla/5.0 (X11; Linux x86_64; FreeBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
FreeBSD
Desktop
one year ago
Test name Executions per second
getBoundingClientRect 292497.9 Ops/sec
getLocalDOMRect 59410.8 Ops/sec
Access offset properties directly 145681.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBoundingClientRect

  • getLocalDOMRect

  • Access offset properties directly