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
de84c1e1
Unverified
Commit
de84c1e1
authored
Apr 10, 2020
by
Jonah Williams
Committed by
GitHub
Apr 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] attempt to fix benchmark mode test (#54414)
parent
a5765331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
run_hot.dart
packages/flutter_tools/lib/src/run_hot.dart
+3
-0
No files found.
packages/flutter_tools/lib/src/run_hot.dart
View file @
de84c1e1
...
...
@@ -299,6 +299,9 @@ class HotRunner extends ResidentRunner {
// Measure time to perform a hot restart.
globals
.
printStatus
(
'Benchmarking hot restart'
);
await
restart
(
fullRestart:
true
,
benchmarkMode:
true
);
// Wait for notifications to finish. attempt to work around
// timing issue caused by sentinel.
await
Future
<
void
>.
delayed
(
const
Duration
(
seconds:
1
));
globals
.
printStatus
(
'Benchmarking hot reload'
);
// Measure time to perform a hot reload.
await
restart
(
fullRestart:
false
);
...
...
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