Skip to content

Commit

Permalink
Enable jank metric collection in profile mode (#102334)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Apr 21, 2022
1 parent c9825d2 commit 512cbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/resident_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool> debugFrameJankMetrics() async {
if (!supportsServiceProtocol || !isRunningDebug) {
if (!supportsServiceProtocol) {
return false;
}
for (final FlutterDevice device in flutterDevices) {
Expand Down

0 comments on commit 512cbdb

Please sign in to comment.