MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / toBundleFrameSummary

Function toBundleFrameSummary

packages/core/src/debug/debugController.ts:144–160  ·  view source on GitHub ↗
(frame: FrameSnapshot)

Source from the content-addressed store, hash-verified

142}
143
144function toBundleFrameSummary(frame: FrameSnapshot): DebugBundleFrameSummary {
145 return {
146 frameId: frame.frameId.toString(),
147 timestamp: frame.timestamp,
148 cols: frame.cols,
149 rows: frame.rows,
150 drawlistBytes: frame.drawlistBytes,
151 drawlistCmds: frame.drawlistCmds,
152 diffBytesEmitted: frame.diffBytesEmitted,
153 dirtyLines: frame.dirtyLines,
154 dirtyCells: frame.dirtyCells,
155 damageRects: frame.damageRects,
156 usDrawlist: frame.usDrawlist,
157 usDiff: frame.usDiff,
158 usWrite: frame.usWrite,
159 };
160}
161
162function stableJson(value: unknown): string {
163 if (value === null || typeof value !== "object") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected