JankAnalyzer class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collectFromFrameTimings(
VmService service, String isolateId, Duration window) → Future< List< FrameData> > - Primary method: collect FrameTiming events from flutter.frame extension stream. Flutter emits pre-computed build+raster+vsync breakdown per frame. Much more accurate than parsing raw timeline events.
-
debugEventNames(
Timeline timeline) → List< String> -
debugFrameCounts(
Timeline timeline) → Map< String, int> -
generateReport(
List< FrameData> frames, {int targetFps = 60, bool fromFrameTimings = false}) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseFrames(
Timeline timeline) → List< FrameData> -
Fallback: parse raw timeline — use async phase ('b'/'e') for
DartFrame and sync phase ('B'/'E') forEmbedderraster events. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited