[driver] output per-frame build times in the timeline summary (#3334)
This commit is contained in:
parent
f540c978d1
commit
d5d4e7c054
@ -57,6 +57,9 @@ class TimelineSummary {
|
||||
'average_frame_build_time_millis': computeAverageFrameBuildTimeMillis(),
|
||||
'missed_frame_build_budget_count': computeMissedFrameBuildBudgetCount(),
|
||||
'frame_count': countFrames(),
|
||||
'frame_build_times': _extractBeginFrameEvents()
|
||||
.map((TimedEvent event) => event.duration.inMicroseconds)
|
||||
.toList()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -98,6 +98,7 @@ void main() {
|
||||
'average_frame_build_time_millis': 7.0,
|
||||
'missed_frame_build_budget_count': 2,
|
||||
'frame_count': 3,
|
||||
'frame_build_times': <int>[9000, 1000, 11000],
|
||||
}
|
||||
);
|
||||
});
|
||||
@ -132,6 +133,7 @@ void main() {
|
||||
'average_frame_build_time_millis': 7.0,
|
||||
'missed_frame_build_budget_count': 2,
|
||||
'frame_count': 3,
|
||||
'frame_build_times': <int>[9000, 1000, 11000],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user