computeMissedFrameBuildBudgetCount method
The number of frames that missed the kBuildBudget and therefore are in the danger of missing frames.
This does not take into account the real device frame rate. Prefer using computePercentileFrameBuildTimeMillis for evaluating performance.
Implementation
int computeMissedFrameBuildBudgetCount() {
return _extractFrameDurations()
.where((Duration duration) => duration > kBuildBudget)
.length;
}