From 512cbdb9da883cc59013ef3363a62beb7d2a6e3c Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Thu, 21 Apr 2022 18:54:13 -0400 Subject: [PATCH] Enable jank metric collection in profile mode (#102334) --- packages/flutter_tools/lib/src/resident_runner.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/resident_runner.dart b/packages/flutter_tools/lib/src/resident_runner.dart index 419c1953a0c7..d303e639a60d 100644 --- a/packages/flutter_tools/lib/src/resident_runner.dart +++ b/packages/flutter_tools/lib/src/resident_runner.dart @@ -682,7 +682,7 @@ abstract class ResidentHandlers { /// use case is to look at the various layers in proportion to see what /// contributes the most towards raster performance. Future debugFrameJankMetrics() async { - if (!supportsServiceProtocol || !isRunningDebug) { + if (!supportsServiceProtocol) { return false; } for (final FlutterDevice device in flutterDevices) {