treemap library
Helper for building a treemap out of AOT snapshot size dump.
Enums
- TreemapFormat
- Specifies the granularity at which snapshot nodes are represented when converting V8 snapshot profile into a treemap.
Constants
- kindPath → const String
- kindSymbol → const String
- symbolTypeGlobalInitializedData → const String
- symbolTypeGlobalText → const String
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.