TreemapFormat enum

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

Inheritance
Available extensions

Values

collapsed → const TreemapFormat

Snapshot nodes are collapsed and only info nodes which own them are represented in the treemap, meaning that each leaf treemap node is essentially representing a ProgramInfoNode.

simplified → const TreemapFormat

Similar to collapsed but we also fold all information about nested functions into the outermost function (e.g. a method or a top-level function) further simplifying the output.

dataAndCode → const TreemapFormat

Snapshot nodes are collapsed based on their type into two categories: executable code and data. Leaf node in a treemap represents amount of code or data bytes owned by a specific ProgramInfoNode.

objectType → const TreemapFormat

Snapshot nodes are grouped based on their type, but no further aggregation is performed. Leaf node in a treemap represents amount of bytes occupied by objects of a specific type owned by a specific ProgramInfoNode.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<TreemapFormat>
A constant List of the values in this enum, in order of their declaration.