Content-Length: 297661 | pFad | https://github.com/flutter/flutter/issues/84884

E6 Add `AppStartUp` UserTag to track timing of Flutter app start · Issue #84884 · flutter/flutter · GitHub
Skip to content

Add AppStartUp UserTag to track timing of Flutter app start #84884

@kenzieschmoll

Description

@kenzieschmoll

Soon, DDS is going to support caching CPU profiles for a given user tag and provide an API for Flutter DevTools to request a cached profile. @bkonyi is working on this. We will use this functionality to support profiling app startup for Flutter apps. In order to use this functionality, we need a UserTag AppStartUp to be set at the beginning of app start, and unset at the end. This will mark the start and end times for app startup in the CPU profiler.

I'm not sure where in the flutter ecosystem these UserTag changes will need to take place. If either of them need to happen in Native code in the engine, @bkonyi can make a small change to the C API to support this. @chinmaygarde @iskakaushik

Flutter Tools will then need to pass AppStartUp, or whatever the name of the user tag ends up being, as a flag value to DDS, so that DDS knows to cache profiles for that tag. @jonahwilliams

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterteam-devexpOwned by the Developer Experience teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/84884

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy