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
b9d53279
Commit
b9d53279
authored
May 24, 2017
by
yjbanov
Committed by
Yegor
May 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf_tests.dart: const constructors; constructors first
parent
f59a6770
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+6
-6
No files found.
dev/devicelab/lib/tasks/perf_tests.dart
View file @
b9d53279
...
...
@@ -83,7 +83,7 @@ TaskFunction createFlutterViewStartupTest() {
class
StartupTest
{
static
const
Duration
_startupTimeout
=
const
Duration
(
minutes:
5
);
StartupTest
(
this
.
testDirectory
,
{
this
.
reportMetrics
:
true
,
this
.
runPodInstall
:
false
});
const
StartupTest
(
this
.
testDirectory
,
{
this
.
reportMetrics
:
true
,
this
.
runPodInstall
:
false
});
final
String
testDirectory
;
final
bool
reportMetrics
;
...
...
@@ -128,7 +128,7 @@ class StartupTest {
/// performance.
class
PerfTest
{
PerfTest
(
this
.
testDirectory
,
this
.
testTarget
,
this
.
timelineFileName
);
const
PerfTest
(
this
.
testDirectory
,
this
.
testTarget
,
this
.
timelineFileName
);
final
String
testDirectory
;
final
String
testTarget
;
...
...
@@ -181,7 +181,7 @@ class PerfTest {
/// code is.
class
BuildTest
{
BuildTest
(
this
.
testDirectory
);
const
BuildTest
(
this
.
testDirectory
);
final
String
testDirectory
;
...
...
@@ -263,7 +263,7 @@ class BuildTest {
/// Measure application memory usage.
class
MemoryTest
{
MemoryTest
(
this
.
testDirectory
,
this
.
packageName
,
{
this
.
testTarget
});
const
MemoryTest
(
this
.
testDirectory
,
this
.
packageName
,
{
this
.
testTarget
});
final
String
testDirectory
;
final
String
packageName
;
...
...
@@ -332,12 +332,12 @@ class MemoryTest {
/// Measure application memory usage after pausing and resuming the app
/// with the Android back button.
class
AndroidBackButtonMemoryTest
{
const
AndroidBackButtonMemoryTest
(
this
.
testDirectory
,
this
.
packageName
,
this
.
activityName
);
final
String
testDirectory
;
final
String
packageName
;
final
String
activityName
;
AndroidBackButtonMemoryTest
(
this
.
testDirectory
,
this
.
packageName
,
this
.
activityName
);
Future
<
TaskResult
>
call
()
{
return
inDirectory
(
testDirectory
,
()
async
{
if
(
deviceOperatingSystem
!=
DeviceOperatingSystem
.
android
)
{
...
...
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