mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Make profile_startup.dart print instructions.
@chinmaygarde
This commit is contained in:
parent
5e70bd13f6
commit
047c53ee3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user