flutter_flutter/shell/platform/fuchsia/flutter/compilation_trace.README
Chinmay Garde 21ad7f051c
Move the Fuchsia Flutter Runner to //flutter/shell/platform/fuchsia/flutter (#8939)
This makes room for the Dart runner at //flutter/shell/platform/fuchsia/dart.
2019-05-12 14:29:34 -07:00

11 lines
612 B
Plaintext

The compilation trace lists functions that will be compiled in the core
snapshot. It is derived by unioning the output of Dart_SaveCompilationTrace
after startup from a few apps.
To update this trace.
- In //topaz/runtime/flutter_runner/engine.cc, change kCompilationTraceDelayInSeconds to a non-zero value.
- Re-build.
- Run `fx syslog | dart topaz/runtime/flutter_runner/collect_traces.dart topaz/runtime/flutter_runner/compilation_trace.txt`
- Boot and run a few apps, making sure to exercise the interesting paths before the timer set above expires.
- Send SIGINT (Ctrl-C) to collect_traces.dart.