-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-developertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Copying feedback for the timeline api from dart:developer
over to its own issue in the Dart SDK (original issue: flutter/devtools#8045). CC @bkonyi
Timeline API:
- it is very hard to predict on which perfetto "track" my traces will end up on. for instance: calling Timeline.startSync / Timeline.finishSync will (maybe) end up on the flutter ui track, whereas Timeline.instantSync will end up on a different Track.
- TimelineTask creates a Track for each layer. this is undesired.
- the documentation is very lacking. what does the Map argument in startSync is meant for? what can we do with it?
The most fundamental thing to add to the API is the the ability to have my traces on a separate track. perfetto::Track(_trackId)
.
This way I can view all of them on a single track in the perfetto trace. and not in between all the flutter traces I am not interested in.
Metadata
Metadata
Assignees
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-developertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug