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
a4a1392c
Commit
a4a1392c
authored
Jan 27, 2017
by
Ian Hickson
Committed by
GitHub
Jan 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--debug-port is now --observatory-port (#7680)
parent
3241f643
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+4
-4
No files found.
dev/devicelab/lib/tasks/perf_tests.dart
View file @
a4a1392c
...
@@ -226,7 +226,7 @@ class MemoryTest {
...
@@ -226,7 +226,7 @@ class MemoryTest {
await
flutter
(
'build'
,
options:
<
String
>[
'ios'
,
'--profile'
]);
await
flutter
(
'build'
,
options:
<
String
>[
'ios'
,
'--profile'
]);
}
}
int
debug
Port
=
await
findAvailablePort
();
int
observatory
Port
=
await
findAvailablePort
();
List
<
String
>
runOptions
=
<
String
>[
List
<
String
>
runOptions
=
<
String
>[
'-v'
,
'-v'
,
...
@@ -234,8 +234,8 @@ class MemoryTest {
...
@@ -234,8 +234,8 @@ class MemoryTest {
'--trace-startup'
,
// wait for the first frame to render
'--trace-startup'
,
// wait for the first frame to render
'-d'
,
'-d'
,
deviceId
,
deviceId
,
'--
debug
-port'
,
'--
observatory
-port'
,
debug
Port
.
toString
(),
observatory
Port
.
toString
(),
];
];
if
(
testTarget
!=
null
)
if
(
testTarget
!=
null
)
runOptions
.
addAll
(<
String
>[
'-t'
,
testTarget
]);
runOptions
.
addAll
(<
String
>[
'-t'
,
testTarget
]);
...
@@ -256,7 +256,7 @@ class MemoryTest {
...
@@ -256,7 +256,7 @@ class MemoryTest {
deviceId
,
deviceId
,
'--use-existing-app'
,
'--use-existing-app'
,
],
environment:
<
String
,
String
>
{
],
environment:
<
String
,
String
>
{
'VM_SERVICE_URL'
:
'http://localhost:
$
debug
Port
'
'VM_SERVICE_URL'
:
'http://localhost:
$
observatory
Port
'
});
});
Map
<
String
,
dynamic
>
endData
=
await
device
.
getMemoryStats
(
packageName
);
Map
<
String
,
dynamic
>
endData
=
await
device
.
getMemoryStats
(
packageName
);
...
...
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