(frame: FrameEvent)
| 73 | } |
| 74 | |
| 75 | function readFrameMetrics(frame: FrameEvent): InteractionFrameMetrics { |
| 76 | return { |
| 77 | bytes: frame.phases?.bytes ?? 0, |
| 78 | yogaMeasured: frame.phases?.yogaMeasured ?? 0, |
| 79 | yogaVisited: frame.phases?.yogaVisited ?? 0, |
| 80 | flickers: frame.flickers.length, |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | function expectVirtualScrollBudget( |
| 85 | label: string, |
nothing calls this directly
no outgoing calls
no test coverage detected