jankWindow constant
Duration
const jankWindow
How far back, behind the newest frame's vsync, jank looks. On a quiet screen Sleuth's own scans draw about one frame a second, so without a time limit janky frames took 4 to 8 minutes to leave the 240-frame buffer and the card stayed that long after the jank stopped.
Implementation
static const Duration jankWindow = Duration(seconds: 10);