flutter_cockpit_test_report library

Pure-Dart performance report APIs for integration-test host drivers.

Import this library from an integration_test_driver.dart entrypoint when the driver runs in the host Dart VM. It intentionally does not load dart:ui or any Flutter widget runtime code.

Classes

CockpitAllocationTrace
Allocation call-stack samples for one explicitly selected VM class.
CockpitCpuFunction
CockpitCpuProfile
CockpitCpuSample
CockpitDevToolsProfile
Bounded projections of the VM data exposed by Flutter DevTools.
CockpitDisplayProfile
Display timing metadata queried from Flutter's engine through VM Service.
CockpitGpuProfile
CockpitHeapClass
CockpitHeapPoint
CockpitHeapProfile
CockpitHeapSample
One VM heap usage sample captured during a performance interval.
CockpitIsolateEvent
One lifecycle notification observed on the VM Isolate stream.
CockpitIsolateProfile
Before/after isolate state captured around one performance interval.
CockpitIsolateStats
A bounded snapshot of one Dart isolate's runtime health.
CockpitPerfettoProfile
Optional raw CPU and VM timeline traces in Perfetto's proto format.
CockpitPerfettoTrace
Perfetto trace metadata returned by the VM Service, with optional raw data.
CockpitPerformanceArchiveInfo
Metadata for an append-only performance event archive.
CockpitPerformanceEvent
A bounded VM timeline event retained for the exported performance report.
CockpitPerformanceFrame
One frame reported by Flutter's frame timing pipeline.
CockpitPerformanceHtml
Renders one or more CockpitPerformanceReport values as a self-contained offline HTML report.
CockpitPerformanceMemoryReport
Bounded process-memory timeline captured alongside frame timings.
CockpitPerformanceMemorySample
One process-memory sample captured during a performance interval.
CockpitPerformanceMemorySummary
Aggregate memory pressure for the retained samples in one capture.
CockpitPerformancePhaseSummary
Percentile and budget information for one frame phase.
CockpitPerformanceReport
A complete bounded performance capture.
CockpitPerformanceSummary
Compact aggregate performance metrics suitable for normal AI output.
CockpitRebuildCount
One location/count pair in a rebuild frame.
CockpitRebuildFrame
Rebuild counts emitted for one Flutter frame.
CockpitRebuildLocation
One widget source location reported by Flutter.RebuiltWidgets.
CockpitRebuildProfile
Bounded DevTools-style widget rebuild evidence.
CockpitRebuildTotal
Aggregate rebuild counts for one widget source location.
CockpitStartupReport
Startup milestones captured by cockpitTestWidgets.
CockpitTimelineProfile
Timeline recorder and stream capabilities observed from VM Service.
CockpitVmDebugEvent
One bounded VM debug-stream event with the source context already present in the notification. This is intentionally metadata-only; variable and object evaluation remains an explicit debugger operation.
CockpitVmLogEvent
One bounded Dart VM logging-stream record.
CockpitVmMemoryNode
One bounded node from VM Service process-memory accounting.
CockpitVmMemoryProfile
Before/after process-memory accounting captured from VM Service.
CockpitVmMemorySnapshot
One timestamped process-memory snapshot from VM Service.
CockpitVmRuntimeProfile
VM-level runtime identity and isolate inventory captured from VM Service.

Enums

CockpitPerformanceMode
The amount of performance data retained while a collector is active.