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
b3f19a3e
Unverified
Commit
b3f19a3e
authored
Sep 16, 2020
by
Ming Lyu (CareF)
Committed by
GitHub
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate animated_placeholder_perf (#64478)
parent
25b8c095
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
0 deletions
+46
-0
animated_placeholder_perf_e2e.dart
...s/macrobenchmarks/test/animated_placeholder_perf_e2e.dart
+16
-0
animated_placeholder_perf__e2e_summary.dart
...lab/bin/tasks/animated_placeholder_perf__e2e_summary.dart
+14
-0
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+7
-0
manifest.yaml
dev/devicelab/manifest.yaml
+9
-0
No files found.
dev/benchmarks/macrobenchmarks/test/animated_placeholder_perf_e2e.dart
0 → 100644
View file @
b3f19a3e
// Copyright 2014 The Flutter 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
'package:macrobenchmarks/common.dart'
;
import
'util.dart'
;
void
main
(
)
{
macroPerfTestE2E
(
'animated_placeholder_perf'
,
kAnimatedPlaceholderRouteName
,
pageDelay:
const
Duration
(
seconds:
1
),
duration:
const
Duration
(
seconds:
5
),
);
}
dev/devicelab/bin/tasks/animated_placeholder_perf__e2e_summary.dart
0 → 100644
View file @
b3f19a3e
// Copyright 2014 The Flutter 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/tasks/perf_tests.dart'
;
import
'package:flutter_devicelab/framework/adb.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
Future
<
void
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
android
;
await
task
(
createAnimatedPlaceholderPerfE2ETest
());
}
dev/devicelab/lib/tasks/perf_tests.dart
View file @
b3f19a3e
...
...
@@ -174,6 +174,13 @@ TaskFunction createAnimatedPlaceholderPerfTest({bool measureCpuGpu = false}) {
).
run
;
}
TaskFunction
createAnimatedPlaceholderPerfE2ETest
(
)
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
'test/animated_placeholder_perf_e2e.dart'
,
).
run
;
}
TaskFunction
createPictureCachePerfTest
(
)
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
dev/devicelab/manifest.yaml
View file @
b3f19a3e
...
...
@@ -891,6 +891,15 @@ tasks:
stage
:
devicelab
required_agent_capabilities
:
[
"
linux/android"
]
animated_placeholder_perf__e2e_summary
:
description
:
>
Measures frame build and rasterizer times, as well as frame build counts
for a grid of images that uses FadeInImage with an animated gif as the
placeholder.
stage
:
devicelab
required_agent_capabilities
:
[
"
linux/android"
]
flaky
:
true
analyzer_benchmark
:
description
:
>
Measures the speed of Dart analyzer.
...
...
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