From 047c53ee3ed2abc975564f349d97f1e3e07d8755 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Fri, 4 Dec 2015 12:26:19 -0800 Subject: [PATCH] Make profile_startup.dart print instructions. @chinmaygarde --- dev/profile_startup.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/profile_startup.dart b/dev/profile_startup.dart index 036473edf7..7aaa1e6ee5 100755 --- a/dev/profile_startup.dart +++ b/dev/profile_startup.dart @@ -83,6 +83,11 @@ main(List args) async { String traces_dir = '/tmp'; List times = []; + print("Profiling startup using flutter start --trace-startup."); + print("Measuring from first trace event to completion of first frame upload."); + print("aka NativeViewGLSurfaceEGL:RealSwapBuffers.\n"); + print("NOTE: If device is not on/unlocked tracing may fail.\n"); + print("$ITERATIONS runs using $projectPath:"); for (var x = 0; x < ITERATIONS; x++) { int runNumber = x + 1;