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
51f1c984
Unverified
Commit
51f1c984
authored
Sep 12, 2020
by
Ming Lyu (CareF)
Committed by
GitHub
Sep 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate cubic_bezier_perf to e2e (#64487)
parent
33f79950
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
0 deletions
+71
-0
.gitignore
dev/benchmarks/macrobenchmarks/.gitignore
+2
-0
cubic_bezier_perf_e2e.dart
...enchmarks/macrobenchmarks/test/cubic_bezier_perf_e2e.dart
+11
-0
cubic_bezier_perf__e2e_summary.dart
dev/devicelab/bin/tasks/cubic_bezier_perf__e2e_summary.dart
+14
-0
cubic_bezier_perf_sksl_warmup__e2e_summary.dart
...bin/tasks/cubic_bezier_perf_sksl_warmup__e2e_summary.dart
+14
-0
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+14
-0
manifest.yaml
dev/devicelab/manifest.yaml
+16
-0
No files found.
dev/benchmarks/macrobenchmarks/.gitignore
View file @
51f1c984
lib/generated_plugin_registrant.dart
lib/generated_plugin_registrant.dart
devtools_memory.json
devtools_memory.json
*.sksl.json
vmservice.out
dev/benchmarks/macrobenchmarks/test/cubic_bezier_perf_e2e.dart
0 → 100644
View file @
51f1c984
// 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
(
'cubic_bezier_perf'
,
kCubicBezierRouteName
);
}
dev/devicelab/bin/tasks/cubic_bezier_perf__e2e_summary.dart
0 → 100644
View file @
51f1c984
// 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
(
createCubicBezierPerfE2ETest
());
}
dev/devicelab/bin/tasks/cubic_bezier_perf_sksl_warmup__e2e_summary.dart
0 → 100644
View file @
51f1c984
// 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
(
createCubicBezierPerfSkSlWarmupE2ETest
());
}
dev/devicelab/lib/tasks/perf_tests.dart
View file @
51f1c984
...
@@ -92,6 +92,20 @@ TaskFunction createCubicBezierPerfTest() {
...
@@ -92,6 +92,20 @@ TaskFunction createCubicBezierPerfTest() {
).
run
;
).
run
;
}
}
TaskFunction
createCubicBezierPerfE2ETest
(
)
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
'test/cubic_bezier_perf_e2e.dart'
,
).
run
;
}
TaskFunction
createCubicBezierPerfSkSlWarmupE2ETest
(
)
{
return
PerfTestWithSkSL
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
'test/cubic_bezier_perf_e2e.dart'
,
).
run
;
}
TaskFunction
createCubicBezierPerfSkSLWarmupTest
(
)
{
TaskFunction
createCubicBezierPerfSkSLWarmupTest
(
)
{
return
PerfTestWithSkSL
(
return
PerfTestWithSkSL
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
dev/devicelab/manifest.yaml
View file @
51f1c984
...
@@ -209,6 +209,14 @@ tasks:
...
@@ -209,6 +209,14 @@ tasks:
stage
:
devicelab
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/android"
]
required_agent_capabilities
:
[
"
mac/android"
]
cubic_bezier_perf__e2e_summary
:
description
:
>
Measures the runtime performance of cubic bezier animations on Android
using e2e.
stage
:
devicelab
required_agent_capabilities
:
[
"
linux/android"
]
flaky
:
true
cubic_bezier_perf_sksl_warmup__timeline_summary
:
cubic_bezier_perf_sksl_warmup__timeline_summary
:
description
:
>
description
:
>
Measures the runtime performance of cubic bezier animations on Android
Measures the runtime performance of cubic bezier animations on Android
...
@@ -216,6 +224,14 @@ tasks:
...
@@ -216,6 +224,14 @@ tasks:
stage
:
devicelab
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/android"
]
required_agent_capabilities
:
[
"
mac/android"
]
cubic_bezier_perf_sksl_warmup__e2e_summary
:
description
:
>
Measures the runtime performance of cubic bezier animations on Android
with SkSL shader warm-up using e2e.
stage
:
devicelab
required_agent_capabilities
:
[
"
linux/android"
]
flaky
:
true
flutter_gallery_sksl_warmup_ios32__transition_perf
:
flutter_gallery_sksl_warmup_ios32__transition_perf
:
description
:
>
description
:
>
Measures the runtime performance of Flutter gallery transitions on iPhone4s
Measures the runtime performance of Flutter gallery transitions on iPhone4s
...
...
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