Enable caching of CPU samples collected at application startup#89600
Enable caching of CPU samples collected at application startup#89600fluttergithubbot merged 2 commits intomasterfrom
Conversation
| enableAuthCodes: disableServiceAuthCodes != true, | ||
| ipv6: ipv6 == true, | ||
| // Enables caching of CPU samples collected during application startup. | ||
| cachedUserTags: const <String>['AppStartUp'], |
There was a problem hiding this comment.
Is there any documentation of supported tags that we could link to?
There was a problem hiding this comment.
In theory, this works for any set UserTag, so this is something that could be exposed as a CLI option at some point so users can cache samples associated with any UserTag defined in their code. However, I think it's best to just start with this single case so we can make progress on tooling for profiling application startup times.
There was a problem hiding this comment.
Oh, I see, so UserTags are defined in user code?
There was a problem hiding this comment.
Yup, but we're setting this particular tag in the engine and resetting to default in the framework after everything's initialized. See UserTag.
flutter#89600)" (flutter#90611) This reverts commit 58944e6.
…n startup (flutter#89600)" (flutter#90611)" (flutter#91754) This reverts commit e89a885.
flutter#89600)" (flutter#92220) This reverts commit dc7fea8.
…n startup (flutter#89600)" (flutter#92220)" (flutter#92235) This reverts commit ba0321e.
flutter#89600)" (flutter#98769) This reverts commit ac3c443.
Fixes #84884