PdfPerfBudget class
Coarse upper-bound tripwires over a PdfPerfStats snapshot - same philosophy as the render path's PdfRenderPhaseBudget: bounds are set with generous headroom so only an order-of-magnitude regression (or a structural fault like an unexpected recovery scan) trips them.
Constructors
-
PdfPerfBudget({Map<
PdfPerfPhase, int> maxPhaseUs = const {}, Map<PdfPerfCount, int> maxCounts = const {}}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxCounts
→ Map<
PdfPerfCount, int> -
Upper bound per counter (e.g.
xrefRecovered: 0asserts a well-formed fixture never falls back to recovery).final -
maxPhaseUs
→ Map<
PdfPerfPhase, int> -
Upper bound in microseconds per phase.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
exceedances(
PdfPerfStats stats) → List< String> - Human-readable violations; empty means within budget.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited