vm_snapshot_analysis.treemap library

Helper for building a treemap out of AOT snapshot size dump.

Constants

kindPath → const String
'p'
kindSymbol → const String
's'
symbolTypeGlobalInitializedData → const String
'D'
symbolTypeGlobalText → const String
'T'

Functions

treemapFromInfo(ProgramInfo info, {TreemapFormat format: TreemapFormat.collapsed, bool collapseSingleChildPathNodes: true}) Map<String, dynamic>
Convert the given ProgramInfo object into a treemap in either TreemapFormat.collapsed or TreemapFormat.simplified format. [...]
treemapFromJson(Object inputJson, {TreemapFormat format: TreemapFormat.objectType, bool collapseSingleChildPathNodes: true}) Map<String, dynamic>
Convert the given AOT snapshot information file into a treemap object, represented as a Map. Each node of the tree has one of the two schemas. [...]

Enums

TreemapFormat
Specifies the granularity at which snapshot nodes are represented when converting V8 snapshot profile into a treemap.