PdfPerfStats class

An immutable snapshot of PdfPerf accumulators.

Constructors

PdfPerfStats.empty()
All-zero stats (what PdfPerf.snapshot returns before first enable).
factory
PdfPerfStats.fromJson(Map<String, Object?> json)
Rebuilds a snapshot from toJson output (missing/unknown names are tolerated so snapshots survive enum evolution across isolates).
factory

Properties

counts List<int>
Value per PdfPerfCount.index.
final
events List<int>
Occurrences per PdfPerfEvent.index.
final
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
True when nothing was recorded.
no setter
phaseCalls List<int>
begin/end pair count per PdfPerfPhase.index.
final
phaseUs List<int>
Accumulated microseconds per PdfPerfPhase.index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addInto(PdfPerfStats accumulator) → void
Sums this snapshot into accumulator (corpus-sweep aggregation).
count(PdfPerfCount c) int
eventCount(PdfPerfEvent e) int
format() String
Human-readable multi-line summary (report-time only).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
phaseCallCount(PdfPerfPhase phase) int
phaseTotalUs(PdfPerfPhase phase) int
toJson() Map<String, Object>
JSON shape: zero entries are omitted so sweep output stays compact.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited