PerformanceStatistics class

The performance statistics collected at the end of the sampling duration.

Constructors

PerformanceStatistics({required double collectionDurationMillis, required DurationStatistics mapRenderDurationStatistics, CumulativeRenderingStatistics? cumulativeStatistics, PerFrameRenderingStatistics? perFrameStatistics})

Properties

collectionDurationMillis ↔ double
The actual amount of time elapsed during statistics collection. Note that this duration is always a little bit larger than the configured duration, as collection happens at a fixed point during the map render call.
getter/setter pair
cumulativeStatistics ↔ CumulativeRenderingStatistics?
Cumulative, continuously tracked, resource stats. Enable using the CumulativeRenderingStats performance sampler option.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
mapRenderDurationStatistics ↔ DurationStatistics
The CPU timeline duration statistics of the map render call.
getter/setter pair
perFrameStatistics ↔ PerFrameRenderingStatistics?
Aggregated, per-frame, timings. Enable using the PerFrameRenderingStats performance sampler option.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Object
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.
override

Static Methods

decode(Object result) → PerformanceStatistics