BenchmarkFrameReport class

One scene's measured frame-time percentiles, with the honesty context a bare number cannot carry on its own.

runMode travels with every report rather than being a side channel the caller has to remember to check, because a report that gets forwarded, logged or serialised without it is exactly how a debug-mode number ends up quoted as a real one.

Annotations

Constructors

BenchmarkFrameReport({required String sceneId, required BenchmarkRunMode runMode, required FrameTimeStats build, required FrameTimeStats raster, required FrameTimeStats total, String? notes})
Creates a report.
const

Properties

build → FrameTimeStats
UI-thread build-phase percentiles.
final
hashCode → int
The hash code for this object.
no setterinherited
notes → String?
The scene's own description, carried through so a report is legible on its own without cross-referencing the scene catalog.
final
raster → FrameTimeStats
Raster-thread percentiles.
final
runMode → BenchmarkRunMode
The compilation mode active while this was captured.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sceneId → String
Which BenchmarkScene this report came from.
final
total → FrameTimeStats
Vsync-to-raster-finish percentiles -- the end-to-end span.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHumanReadable() → String
A multi-line, human-readable block.
toJson() → Map<String, Object?>
This report as JSON.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited