From da9e87021d9641460018c69455366dd87b621d68 Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Tue, 4 Jan 2022 13:02:21 -0500 Subject: [PATCH] Add total_ui_gc_time to benchmarks captured (#96125) --- dev/devicelab/lib/tasks/gallery.dart | 1 + dev/devicelab/lib/tasks/perf_tests.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/dev/devicelab/lib/tasks/gallery.dart b/dev/devicelab/lib/tasks/gallery.dart index fa5a69a449..730f412b54 100644 --- a/dev/devicelab/lib/tasks/gallery.dart +++ b/dev/devicelab/lib/tasks/gallery.dart @@ -160,6 +160,7 @@ class GalleryTransitionTest { '90th_percentile_picture_cache_memory', '99th_percentile_picture_cache_memory', 'worst_picture_cache_memory', + 'total_ui_gc_time', if (measureCpuGpu && !isAndroid) ...[ // See https://github.com/flutter/flutter/issues/68888 if (summary['average_cpu_usage'] != null) 'average_cpu_usage', diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index 79ce804ef0..d6fd87e097 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -942,6 +942,7 @@ const List _kCommonScoreKeys = [ 'worst_picture_cache_memory', 'new_gen_gc_count', 'old_gen_gc_count', + 'total_ui_gc_time', ]; class PerfTestWithSkSL extends PerfTest {