MCPcopy Create free account
hub / github.com/Noumena-Network/code / readFrameMetrics

Function readFrameMetrics

src/ink/replFlickerOracle.test.tsx:75–82  ·  view source on GitHub ↗
(frame: FrameEvent)

Source from the content-addressed store, hash-verified

73}
74
75function 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
84function expectVirtualScrollBudget(
85 label: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected