BenchmarkBudgets class
The full set of committed per-scene budgets, keyed by scene id.
Loaded from a checked-in JSON file rather than hard-coded, so tightening or relaxing a budget is a reviewable diff to data, not a change buried in the harness's own source -- the whole point of a "regression gate" is that changing what counts as a regression has to go through review too.
- Annotations
Constructors
-
BenchmarkBudgets(Map<
String, SceneBudget> _budgets) -
Creates a budget set directly. Prefer BenchmarkBudgets.fromJsonString
when reading
budgets.json.const - BenchmarkBudgets.fromJsonString(String source)
-
Parses the checked-in budgets file.
factory
Properties
Methods
-
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
-
operator [](
String sceneId) → SceneBudget? -
The budget for
sceneId, or null if none is committed yet.