Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Chrome OS 14541.0.0
Desktop
11 months ago
Test name Executions per second
getBoundingClientRect 433589.3 Ops/sec
getLocalDOMRect 83671.7 Ops/sec
Access offset properties directly 228873.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBoundingClientRect

  • getLocalDOMRect

  • Access offset properties directly