FrameTimingSummarizer class Null safety
This class and summarizes a list of FrameTiming for the performance metrics.
Constructors
-
FrameTimingSummarizer(List<
FrameTiming> data, {int? newGenGCCount, int? oldGenGCCount}) -
Summarize
data
to frame build time and frame rasterizer time statistics.factory
Properties
- averageFrameBuildTime → Duration
-
The average value of frameBuildTime in milliseconds.
final
- averageFrameRasterizerTime → Duration
-
The average value of frameRasterizerTime in milliseconds.
final
- averageLayerCacheBytes → double
-
The average number of bytes consumed by cached layers across all frames.
final
- averageLayerCacheCount → double
-
The average number of layers cached across all frames.
final
- averagePictureCacheBytes → double
-
The average number of bytes consumed by cached pictures across all frames.
final
- averagePictureCacheCount → double
-
The average number of pictures cached across all frames.
final
- averageVsyncOverhead → Duration
-
The average value of vsyncOverhead;
final
-
frameBuildTime
→ List<
Duration> -
List of frame build time in microseconds
final
-
frameRasterizerTime
→ List<
Duration> -
List of frame rasterizer time in microseconds
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- missedFrameBuildBudget → int
-
Number of items in frameBuildTime that's greater than kBuildBudget
final
- missedFrameRasterizerBudget → int
-
Number of items in frameRasterizerTime that's greater than kBuildBudget
final
- newGenGCCount → int
-
The number of new generation GCs.
final
- oldGenGCCount → int
-
The number of old generation GCs.
final
- p90FrameBuildTime → Duration
-
The 90-th percentile value of frameBuildTime in milliseconds
final
- p90FrameRasterizerTime → Duration
-
The 90-th percentile value of frameRasterizerTime in milliseconds.
final
- p90LayerCacheBytes → int
-
The 90-th percentile number of bytes consumed by cached layers across all frames.
final
- p90LayerCacheCount → int
-
The 90-th percentile number of layers cached across all frames.
final
- p90PictureCacheBytes → int
-
The 90-th percentile number of bytes consumed by cached pictures across all frames.
final
- p90PictureCacheCount → int
-
The 90-th percentile number of pictures cached across all frames.
final
- p90VsyncOverhead → Duration
-
The 90-th percentile value of vsyncOverhead in milliseconds
final
- p99FrameBuildTime → Duration
-
The 99-th percentile value of frameBuildTime in milliseconds
final
- p99FrameRasterizerTime → Duration
-
The 99-th percentile value of frameRasterizerTime in milliseconds.
final
- p99LayerCacheBytes → int
-
The 90-th percentile number of bytes consumed by cached layers across all frames.
final
- p99LayerCacheCount → int
-
The 90-th percentile number of layers cached across all frames.
final
- p99PictureCacheBytes → int
-
The 90-th percentile number of bytes consumed by cached pictures across all frames.
final
- p99PictureCacheCount → int
-
The 90-th percentile number of pictures cached across all frames.
final
- p99VsyncOverhead → Duration
-
The 99-th percentile value of vsyncOverhead in milliseconds
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
summary
→ Map<
String, dynamic> -
Convert the summary result to a json object.
read-only
-
vsyncOverhead
→ List<
Duration> -
List of the time difference between vsync signal and frame building start
time
final
- worstFrameBuildTime → Duration
-
The largest value of frameBuildTime in milliseconds
final
- worstFrameRasterizerTime → Duration
-
The largest value of frameRasterizerTime in milliseconds.
final
- worstLayerCacheBytes → int
-
The highest number of bytes consumed by cached layers across all frames.
final
- worstLayerCacheCount → int
-
The most number of layers cached across all frames.
final
- worstPictureCacheBytes → int
-
The highest number of bytes consumed by cached pictures across all frames.
final
- worstPictureCacheCount → int
-
The most number of pictures cached across all frames.
final
- worstVsyncOverhead → Duration
-
The largest value of vsyncOverhead in milliseconds.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited