TreemapFormat enum Null safety

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

Constants

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.

const TreemapFormat(0)
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.

const TreemapFormat(2)
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.

const TreemapFormat(3)
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.

const TreemapFormat(1)
values → const List<TreemapFormat>

A constant List of the values in this enum, in order of their declaration.

const List<TreemapFormat>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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