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
fe70a2b0
Unverified
Commit
fe70a2b0
authored
Aug 11, 2022
by
Jim Graham
Committed by
GitHub
Aug 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add page delays to the fullscreen versions of the textfield perf benchmarks (#107746)
parent
924490da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
fullscreen_textfield_perf_e2e.dart
...s/macrobenchmarks/test/fullscreen_textfield_perf_e2e.dart
+1
-5
fullscreen_textfield_perf_test.dart
...enchmarks/test_driver/fullscreen_textfield_perf_test.dart
+1
-1
No files found.
dev/benchmarks/macrobenchmarks/test/fullscreen_textfield_perf_e2e.dart
View file @
fe70a2b0
...
...
@@ -12,11 +12,7 @@ void main() {
macroPerfTestE2E
(
'fullscreen_textfield_perf'
,
kFullscreenTextRouteName
,
// The driver version doesn't have this delay because the delay caused
// by the communication between the host and the test device is long enough
// for the driver test, but there isn't such delay in this host independent
// test.
pageDelay:
const
Duration
(
milliseconds:
50
),
pageDelay:
const
Duration
(
seconds:
1
),
body:
(
WidgetController
controller
)
async
{
final
Finder
textfield
=
find
.
byKey
(
const
ValueKey
<
String
>(
'fullscreen-textfield'
));
controller
.
tap
(
textfield
);
...
...
dev/benchmarks/macrobenchmarks/test_driver/fullscreen_textfield_perf_test.dart
View file @
fe70a2b0
...
...
@@ -11,7 +11,7 @@ void main() {
macroPerfTest
(
'fullscreen_textfield_perf'
,
kFullscreenTextRouteName
,
pageDelay:
const
Duration
(
milliseconds:
50
),
pageDelay:
const
Duration
(
seconds:
1
),
driverOps:
(
FlutterDriver
driver
)
async
{
final
SerializableFinder
textfield
=
find
.
byValueKey
(
'fullscreen-textfield'
);
driver
.
tap
(
textfield
);
...
...
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