collectors library

Classes

FrameWindow
A window of FrameTimings collected while a benchmark action ran.
VmServiceHeap
Best-effort handle to the heap of the running test isolate.

Constants

kFrameBudgetUs → const int
One frame's budget at 60 Hz, in microseconds.

Functions

collectFrames(Future<void> action()) Future<FrameWindow>
Collects FrameTimings while action runs and returns the window.