vm_snapshot_analysis 0.3.0 vm_snapshot_analysis: ^0.3.0 copied to clipboard
Utilities for working with non-symbolic stack traces.
Changelog #
0.3.0 #
- Extract treemap construction code into a separate library, to make it reusable.
- Add ability to collapse leaf nodes in a treemap created from V8 snapshot
profile. This behavior is programmatically controlled by
TreemapFormat format
parameter and from CLI via--format
flag. The following options are availablecollapsed
essentially rendersProgramInfo
as a treemap, individual snapshot nodes are ignored.simplified
same ascollapsed
, but also folds size information from nested functions into outermost function (e.g. top level function or a method) producing easy to consume output.data-and-code
collapses snapshot nodes based on whether they represent data or executable code.object-type
(default) collapses snapshot nodes based on their type only.
- When computing
ProgramInfo
from a V8 snapshot profile no longer createProgramInfoNode
forCode
nodes which are owned by a function - instead directly attribute theCode
node itself and all retained nodes intoProgramInfoNode
for the function itself. For stubs (including allocation stubs) create an artificialfunctionNode
instead of usingNodeType.other
. The only remaining use ofNodeType.other
is for fields.
0.2.0 #
- Update CLI help message to avoid referring to a snapshot created by pub as the name of the script.
- Fix owner computation code for V8 profiles: the size of a snapshot node
which corresponds to a
ProgramInfoNode
should be attributed to thatProgramInfoNode
and not to its parent. For exampleFunction
node corresponds toProgramInfoNode
of typefunctionNode
, previously the size ofFunction
node would be attributed to the parent of thisProgramInfoNode
, but it should be attributed to the node itself. - Update
README.md
to include more information on how to pass flags to Dart AOT compiler. - Add
ProgramInfoNode.size
documentation to clarify the meaning of the member.
0.1.0 #
- Initial release