From 4b6af7a42f32835fa1914444848c1f80aa54fc97 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Tue, 3 May 2016 13:51:22 -0700 Subject: [PATCH] Provide framework-only timing information (#3699) This makes it easier to generate charts that show the engine time and the framework time separately. --- packages/flutter_tools/lib/src/commands/run.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/lib/src/commands/run.dart b/packages/flutter_tools/lib/src/commands/run.dart index 6a7991de0b..8161cc1cab 100644 --- a/packages/flutter_tools/lib/src/commands/run.dart +++ b/packages/flutter_tools/lib/src/commands/run.dart @@ -416,6 +416,7 @@ Future _downloadStartupTrace(int observatoryPort, Device device) async { if (frameworkInitTimestampMicros != null) { traceInfo['timeToFrameworkInitMicros'] = frameworkInitTimestampMicros - engineEnterTimestampMicros; + traceInfo['timeAfterFrameworkInitMicros'] = timeToFirstFrameMicros - frameworkInitTimestampMicros; } await traceInfoFile.writeAsString(JSON.encode(traceInfo));