mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
11 lines
612 B
Plaintext
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.
|