Commit 8b3df848 authored by Eric Seidel's avatar Eric Seidel

Merge pull request #742 from eseidelGoogle/profile_instructions

Make profile_startup.dart print instructions.
parents c0884943 047c53ee
......@@ -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