Unverified Commit 51f1c984 authored by Ming Lyu (CareF)'s avatar Ming Lyu (CareF) Committed by GitHub

migrate cubic_bezier_perf to e2e (#64487)

parent 33f79950
lib/generated_plugin_registrant.dart lib/generated_plugin_registrant.dart
devtools_memory.json devtools_memory.json
*.sksl.json
vmservice.out
// 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);
}
// 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());
}
// 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());
}
...@@ -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',
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment