ReadSummaryMarker
Interface: ReadSummaryMarker
Defined in: node_modules/footprintjs/dist/types/lib/capture/summarize.d.ts:41
Marker recorded in StageSnapshot.stageReads under readTracking: 'summary'.
Honest cost note: size is a cheap proxy (string length / array length /
object key count), NOT a serialized byte count — computing real byte size
would require an O(value) serialization, which is exactly the cost the
summary mode removes. preview is only produced for primitives and strings
(first SUMMARY_PREVIEW_LENGTH characters); objects and arrays carry
no preview for the same reason.
Extends
ValueSummary
Properties
__readSummary
__readSummary:
true
Defined in: node_modules/footprintjs/dist/types/lib/capture/summarize.d.ts:43
Discriminant — lets snapshot consumers detect marker entries.
preview?
optionalpreview?:string
Defined in: node_modules/footprintjs/dist/types/lib/capture/summarize.d.ts:29
First SUMMARY_PREVIEW_LENGTH chars — primitives and strings only.
Inherited from
ValueSummary.preview
size?
optionalsize?:number
Defined in: node_modules/footprintjs/dist/types/lib/capture/summarize.d.ts:27
Size proxy: string length, array length, or object key count.
Inherited from
ValueSummary.size
type
type:
SummaryValueType
Defined in: node_modules/footprintjs/dist/types/lib/capture/summarize.d.ts:25
typeof result, refined to 'array' / 'null' for objects.
Inherited from
ValueSummary.type
