CockpitStartupReport class final
Startup milestones captured by cockpitTestWidgets.
The harness starts its clock immediately before the app builder runs. This gives reliable app-build, first-frame, and initial-ready timings without claiming visibility into native process launch time.
Constructors
- CockpitStartupReport({required int appMs, required int firstFrameMs, required int readyMs, String source = 'harness'})
- CockpitStartupReport.fromJson(Object? value)
-
factory
Properties
- appMs → int
-
Time spent building and mounting the application, in milliseconds.
final
- firstFrameMs → int
-
Time from the harness clock start until the first pumped frame, in
milliseconds. This is the closest in-app cold-start signal available to
a Dart integration test.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- readyMs → int
-
Time until the configured initial bootstrap pump completes, in
milliseconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Origin of the timing clock.
harnessis intentionally explicit because native process launch time is outside the Dart test isolate.final
Methods
-
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