-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
We'd like to be able to tell how many allocations and deallocations took place in a given period of time (say a frame workload) and also generate histograms of the allocations along with an estimate of how long each allocation survived. Some requirements:
- Allow turning off this instrumentation in release modes.
- Perhaps wrap existing allocators in a new
impeller::InstrumentedAllocatorbut only in non-release modes.
- Perhaps wrap existing allocators in a new
- Allow dumping information on allocations to the timeline.
- Allow tracking how long each allocation survived.
- If there are multiple short lived allocations, we could be doing something better.
- Perhaps via delegation in the new
impeller::InstrumentedAllocator.
- Allow additional debug information to be attached to allocations.
bdero
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team