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
1560d0ce
Unverified
Commit
1560d0ce
authored
Sep 02, 2022
by
Chris Yang
Committed by
GitHub
Sep 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Benchmark: platform_views_layout] show and hide more PlatformViews (#110688)
parent
0c82d967
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
scroll_perf_test.dart
...s/platform_views_layout/test_driver/scroll_perf_test.dart
+12
-10
No files found.
dev/benchmarks/platform_views_layout/test_driver/scroll_perf_test.dart
View file @
1560d0ce
...
@@ -33,6 +33,7 @@ void main() {
...
@@ -33,6 +33,7 @@ void main() {
final
SerializableFinder
list
=
find
.
byValueKey
(
listKey
);
final
SerializableFinder
list
=
find
.
byValueKey
(
listKey
);
expect
(
list
,
isNotNull
);
expect
(
list
,
isNotNull
);
for
(
int
j
=
0
;
j
<
5
;
j
++)
{
// Scroll down
// Scroll down
for
(
int
i
=
0
;
i
<
5
;
i
+=
1
)
{
for
(
int
i
=
0
;
i
<
5
;
i
+=
1
)
{
await
driver
.
scroll
(
list
,
0.0
,
-
300.0
,
const
Duration
(
milliseconds:
300
));
await
driver
.
scroll
(
list
,
0.0
,
-
300.0
,
const
Duration
(
milliseconds:
300
));
...
@@ -44,6 +45,7 @@ void main() {
...
@@ -44,6 +45,7 @@ void main() {
await
driver
.
scroll
(
list
,
0.0
,
300.0
,
const
Duration
(
milliseconds:
300
));
await
driver
.
scroll
(
list
,
0.0
,
300.0
,
const
Duration
(
milliseconds:
300
));
await
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
500
));
await
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
500
));
}
}
}
});
});
final
TimelineSummary
summary
=
TimelineSummary
.
summarize
(
timeline
);
final
TimelineSummary
summary
=
TimelineSummary
.
summarize
(
timeline
);
...
...
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