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
ebb174b0
Unverified
Commit
ebb174b0
authored
Jun 16, 2018
by
Michael Goderbauer
Committed by
GitHub
Jun 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add size benchmark for hello_world (#18522)
parent
278c69c4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
0 deletions
+44
-0
hello_world_android__compile.dart
dev/devicelab/bin/tasks/hello_world_android__compile.dart
+14
-0
hello_world_ios__compile.dart
dev/devicelab/bin/tasks/hello_world_ios__compile.dart
+14
-0
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+4
-0
manifest.yaml
dev/devicelab/manifest.yaml
+12
-0
No files found.
dev/devicelab/bin/tasks/hello_world_android__compile.dart
0 → 100644
View file @
ebb174b0
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'package:flutter_devicelab/framework/adb.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
Future
<
Null
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
android
;
await
task
(
createHelloWorldCompileTest
());
}
dev/devicelab/bin/tasks/hello_world_ios__compile.dart
0 → 100644
View file @
ebb174b0
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'package:flutter_devicelab/framework/adb.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
Future
<
Null
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
ios
;
await
task
(
createHelloWorldCompileTest
());
}
dev/devicelab/lib/tasks/perf_tests.dart
View file @
ebb174b0
...
...
@@ -43,6 +43,10 @@ TaskFunction createFlutterGalleryCompileTest() {
return
new
CompileTest
(
'
${flutterDirectory.path}
/examples/flutter_gallery'
).
run
;
}
TaskFunction
createHelloWorldCompileTest
(
)
{
return
new
CompileTest
(
'
${flutterDirectory.path}
/examples/hello_world'
).
run
;
}
TaskFunction
createComplexLayoutCompileTest
(
)
{
return
new
CompileTest
(
'
${flutterDirectory.path}
/dev/benchmarks/complex_layout'
).
run
;
}
...
...
dev/devicelab/manifest.yaml
View file @
ebb174b0
...
...
@@ -182,6 +182,12 @@ tasks:
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/android"
]
hello_world_android__compile
:
description
:
>
Measures the APK size of Hello World.
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/android"
]
hello_world__memory
:
description
:
>
Measures starting memory usage of the simplest Flutter app.
...
...
@@ -333,6 +339,12 @@ tasks:
stage
:
devicelab_ios
required_agent_capabilities
:
[
"
mac/ios"
]
hello_world_ios__compile
:
description
:
>
Measures the IPA size of Hello World.
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/ios"
]
microbenchmarks_ios
:
description
:
>
Runs benchmarks from dev/benchmarks/microbenchmarks on iOS.
...
...
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