From 48ce83a833e7cb3c27e73e238f0d565470827139 Mon Sep 17 00:00:00 2001 From: Yuqian Li Date: Thu, 24 Sep 2020 13:42:03 -0700 Subject: [PATCH] Default measureCpuGpu to true (#66386) --- dev/devicelab/lib/tasks/perf_tests.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index d65eb105bf..b4f885d5e0 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -15,7 +15,7 @@ import 'package:flutter_devicelab/framework/framework.dart'; import 'package:flutter_devicelab/framework/utils.dart'; import 'package:flutter_devicelab/tasks/track_widget_creation_enabled_task.dart'; -TaskFunction createComplexLayoutScrollPerfTest({bool measureCpuGpu = false}) { +TaskFunction createComplexLayoutScrollPerfTest({bool measureCpuGpu = true}) { return PerfTest( '${flutterDirectory.path}/dev/benchmarks/complex_layout', 'test_driver/scroll_perf.dart', @@ -131,7 +131,7 @@ TaskFunction createFlutterGalleryTransitionsPerfSkSLWarmupE2ETest() { ).run; } -TaskFunction createBackdropFilterPerfTest({bool measureCpuGpu = false}) { +TaskFunction createBackdropFilterPerfTest({bool measureCpuGpu = true}) { return PerfTest( '${flutterDirectory.path}/dev/benchmarks/macrobenchmarks', 'test_driver/run_app.dart', @@ -149,7 +149,7 @@ TaskFunction createBackdropFilterPerfE2ETest() { ).run; } -TaskFunction createPostBackdropFilterPerfTest({bool measureCpuGpu = false}) { +TaskFunction createPostBackdropFilterPerfTest({bool measureCpuGpu = true}) { return PerfTest( '${flutterDirectory.path}/dev/benchmarks/macrobenchmarks', 'test_driver/run_app.dart', @@ -160,7 +160,7 @@ TaskFunction createPostBackdropFilterPerfTest({bool measureCpuGpu = false}) { ).run; } -TaskFunction createSimpleAnimationPerfTest({bool measureCpuGpu = false}) { +TaskFunction createSimpleAnimationPerfTest({bool measureCpuGpu = true}) { return PerfTest( '${flutterDirectory.path}/dev/benchmarks/macrobenchmarks', 'test_driver/run_app.dart', @@ -171,7 +171,7 @@ TaskFunction createSimpleAnimationPerfTest({bool measureCpuGpu = false}) { ).run; } -TaskFunction createAnimatedPlaceholderPerfTest({bool measureCpuGpu = false}) { +TaskFunction createAnimatedPlaceholderPerfTest({bool measureCpuGpu = true}) { return PerfTest( '${flutterDirectory.path}/dev/benchmarks/macrobenchmarks', 'test_driver/run_app.dart', @@ -482,7 +482,7 @@ class PerfTest { this.testDirectory, this.testTarget, this.timelineFileName, { - this.measureCpuGpu = false, + this.measureCpuGpu = true, this.measureMemory = false, this.saveTraceFile = false, this.testDriver, @@ -495,7 +495,7 @@ class PerfTest { const PerfTest.e2e( this.testDirectory, this.testTarget, { - this.measureCpuGpu = false, + this.measureCpuGpu = true, this.measureMemory = false, this.testDriver = 'test_driver/e2e_test.dart', this.needsFullTimeline = false,