Commit 047c53ee authored by Eric Seidel's avatar Eric Seidel

Make profile_startup.dart print instructions.

@chinmaygarde
parent 5e70bd13
......@@ -83,6 +83,11 @@ main(List<String> args) async {
String traces_dir = '/tmp';
List<double> 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment