Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36 Edg/81.0.416.64
Chrome 81
Windows
Desktop
3 years ago
Test name Executions per second
getBBox 194029.8 Ops/sec
getBoundingClientRect 130354.9 Ops/sec
getComputedTextLength 258149.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getBBox

  • getBoundingClientRect

  • getComputedTextLength