mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:19:48 +00:00
4079c373c0
This also includes few other changes: - 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 available - `collapsed` essentially renders `ProgramInfo` as a treemap, individual snapshot nodes are ignored. - `data-and-code` collapses snapshot nodes based on whether they represent data or executable code. - `object-type` collapses snapshot nodes based on their type only. - When computing `ProgramInfo` from a V8 snapshot profile no longer create `ProgramInfoNode` for `Code` nodes which are owned by a function - instead directly attribute the `Code` node itself and all retained nodes into `ProgramInfoNode` for the function itself. For stubs (including allocation stubs) create an artificial `functionNode` instead of using `NodeType.other`. The only remaining use of `NodeType.other` is for fields. Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-try,pkg-win-release-try,pkg-mac-release-try Change-Id: I18e5437a10dd9141adaed5dfd6f0a3545740e2a2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152320 Commit-Queue: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Kenzie Schmoll <kenzieschmoll@google.com> Reviewed-by: Tess Strickland <sstrickl@google.com>
21 lines
385 B
YAML
21 lines
385 B
YAML
name: vm_snapshot_analysis
|
|
description: Utilities for working with non-symbolic stack traces.
|
|
version: 0.3.0
|
|
|
|
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/vm_snapshot_analysis
|
|
|
|
environment:
|
|
sdk: '>=2.8.0 <3.0.0'
|
|
|
|
executables:
|
|
snapshot_analysis: analyse
|
|
|
|
dependencies:
|
|
args: ^1.6.0
|
|
path: ^1.7.0
|
|
meta: ^1.1.8
|
|
|
|
dev_dependencies:
|
|
pedantic: ^1.9.0
|
|
test: ^1.15.1
|