Skip to content

Commit 512cbdb

Browse files
authored
Enable jank metric collection in profile mode (#102334)
1 parent c9825d2 commit 512cbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/lib/src/resident_runner.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ abstract class ResidentHandlers {
682682
/// use case is to look at the various layers in proportion to see what
683683
/// contributes the most towards raster performance.
684684
Future<bool> debugFrameJankMetrics() async {
685-
if (!supportsServiceProtocol || !isRunningDebug) {
685+
if (!supportsServiceProtocol) {
686686
return false;
687687
}
688688
for (final FlutterDevice device in flutterDevices) {

0 commit comments

Comments
 (0)