Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Chrome 148
Windows
Desktop
one month ago
Test name Executions per second
getBoundingClientRect 1011657.2 Ops/sec
getAttribute 8851771.0 Ops/sec
HTML Preparation code:
Tests:
  • getBoundingClientRect

  • getAttribute