ComparisonTimings class

Where one comparison's time went — index.json's timings.

Written so that a slow run can be read rather than reconstructed: what was compiled, rendered, replayed and compared, and how long each took, per package and per side. Phases can overlap — both sides render at once under --jobs, and the page's viewer compiles beside all of it — so they are not meant to add up to ComparisonIndex.ms.

Constructors

ComparisonTimings({List<ComparisonPhase> phases = const [], Map<String, int> unsettledSteps = const {}, List<String> pooledOnlyDifferences = const [], Map<String, List<String>> stillTicking = const {}})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
phases → List<ComparisonPhase>
final
pooledOnlyDifferences → List<String>
Scenario ids that differed when replayed beside others under --jobs, and were not a finding once replayed again alone — so were reported as the alone replay found them.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stillTicking → Map<String, List<String>>
Scenario id → what kept asking for frames on the steps unsettledSteps counts: CircularProgressIndicator (lib/src/orders/status_cell.dart:42), _PulseState.initState (package:app/src/pulse.dart:18) — see ScenarioRunOutcome.stillTicking.
final
unsettledSteps → Map<String, int>
Scenario id → how many of its steps gave up waiting for the screen to settle, in the replays this run made. A step that never settles runs its whole settle budget every time it is replayed — an animation that never ends, a 3D view that repaints every frame.
final

Methods

named(String name) → Iterable<ComparisonPhase>
Every phase called name, in the order they were recorded.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Object? json) → ComparisonTimings?
Null for a file written before the key existed.