HTML Preparation code:
Tests:
  • 3 x getComputedStyle

  • 2 x getComputedStyle + 1 x getBoundingClientRect

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    3 x getComputedStyle
    2 x getComputedStyle + 1 x getBoundingClientRect

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/21A329 Twitter for iPhone/10.7
Mobile Safari 17 on iOS 17.0
View result in a separate tab
Test name Executions per second
3 x getComputedStyle 297.5 Ops/sec
2 x getComputedStyle + 1 x getBoundingClientRect 235.3 Ops/sec


;