computeAverageFrameBuildTimeMillis method

double computeAverageFrameBuildTimeMillis()

Average amount of time spent per frame in the framework building widgets, updating layout, painting and compositing.

Throws a StateError if this summary contains no timeline events.

Implementation

double computeAverageFrameBuildTimeMillis() {
  return _averageInMillis(_extractFrameDurations());
}