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
7ee0ee72
Commit
7ee0ee72
authored
Apr 13, 2016
by
Eric Seidel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Per review comments
parent
237f1ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
scroll_perf_test.dart
examples/material_gallery/test_driver/scroll_perf_test.dart
+5
-3
No files found.
examples/material_gallery/test_driver/scroll_perf_test.dart
View file @
7ee0ee72
...
...
@@ -29,6 +29,8 @@ void main() {
await
driver
.
tap
(
await
driver
.
findByText
(
'Components'
));
await
driver
.
tap
(
await
driver
.
findByText
(
'Style'
));
// TODO(eseidel): These are very artifical scrolls, we should use better
// https://github.com/flutter/flutter/issues/3316
// Scroll down
for
(
int
i
=
0
;
i
<
5
;
i
++)
{
await
driver
.
scroll
(
stockList
,
0.0
,
-
300.0
,
new
Duration
(
milliseconds:
300
));
...
...
@@ -42,9 +44,9 @@ void main() {
}
});
TimelineSummary
summary
=
new
TimelineSummary
.
summarize
(
timeline
);
summary
.
writeSummaryToFile
(
'home_scroll_perf'
,
pretty:
true
);
summary
.
writeTimelineToFile
(
'home_scroll_perf'
,
pretty:
true
);
new
TimelineSummary
.
summarize
(
timeline
)
..
writeSummaryToFile
(
'home_scroll_perf'
,
pretty:
true
)
.
.
writeTimelineToFile
(
'home_scroll_perf'
,
pretty:
true
);
});
});
}
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