Make profile_startup.dart print instructions.

@chinmaygarde
This commit is contained in:
Eric Seidel 2015-12-04 12:26:19 -08:00
parent 5e70bd13f6
commit 047c53ee3e

View File

@ -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;