Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
d5d4e7c0
Commit
d5d4e7c0
authored
Apr 14, 2016
by
Yegor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[driver] output per-frame build times in the timeline summary (#3334)
parent
f540c978
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
timeline_summary.dart
packages/flutter_driver/lib/src/timeline_summary.dart
+3
-0
timeline_summary_test.dart
packages/flutter_driver/test/src/timeline_summary_test.dart
+2
-0
No files found.
packages/flutter_driver/lib/src/timeline_summary.dart
View file @
d5d4e7c0
...
...
@@ -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
()
};
}
...
...
packages/flutter_driver/test/src/timeline_summary_test.dart
View file @
d5d4e7c0
...
...
@@ -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
],
});
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment