slowFrames property

int get slowFrames

Frames whose build+raster exceeded the 60 Hz budget.

Implementation

int get slowFrames => timings
    .where((t) =>
        t.buildDuration.inMicroseconds + t.rasterDuration.inMicroseconds >
        kFrameBudgetUs)
    .length;