PackageTrack
Sign in Get early access

vm_snapshot_analysis

Utilities for analysing AOT snapshot size.

0.7.6 6.3M downloads/mo #109 most downloaded on pub.dev dart-lang/sdk

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 9 days to 13 months

Nearly every release is documented

notes for 18 of 18 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

18 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

18 releases · Jun 2020 to Jul 2023
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 0.7.6 07 Jul 2023
    Release notes
    • Allow the old 'patched_class_' field for PatchClass until we change the SDK lower bound for this package to a version that does not have it.
    Open source →
  2. 0.7.5 07 Jul 2023
    Release notes
    • Fix for flutter/flutter#130009 where an attempt to lookup the owner info node for type testing stubs would cause a null check error.
    Open source →
  3. 0.7.4 04 Jul 2023
    Release notes
    • Fix for flutter/flutter#128402 where an attempt to lookup the owner info node for type testing stubs would cause a null check error.
    Open source →
  4. 0.7.2 31 May 2022
    Release notes
    • Upgrade to package:lints 2.0.
    • Populate the pubspec repository field.
    Open source →
  5. 0.7.1 31 Jan 2022
    Release notes
    • Make CallGraphNode.dominator nullable.
    Open source →
  6. 0.7.0 22 Apr 2021
    Release notes
    • Migrate to null-safety.
    Open source →
  7. 0.6.0 18 Mar 2021
    Release notes
    • Update to latest args, path, meta dependency.
    Open source →
  8. 0.5.6 22 Feb 2021
    Release notes
    • Fix for flutter/flutter#76313 causing issues with profiles containing WSRs serialized as smi-s instead of actual WSR objects.=
    Open source →
  9. 0.5.5 02 Sep 2020
    Release notes
    • Add deps-display-depth (-d) flag for summary command to make the display depth of outputted dependency trees configurable.
    • Rename deps-collapse-depth (formerly -d) flag for summary command to deps-start-depth (now -s).
    • Add generateCallGraphWithDominators method that generates a CallGraph object from precompiler trace.
    Open source →
  10. 0.5.4 12 Aug 2020
    Release notes
    • Fix bug causing name clash for Type class.
    Open source →
  11. 0.5.3 06 Aug 2020
    Release notes
    • Add compareProgramInfo that takes in two program info objects and outputs a Map object containing the diff data.
    Open source →
  12. 0.5.2 05 Aug 2020
    Release notes
    • Add support for package paths that look like package:foo.bar.baz/src/foobar.dart
    • Move commands back to lib.
    Open source →
  13. 0.5.0 14 Jul 2020
    Release notes
    • Remove dart:io dependency from package lib, and move commands to bin.
    • Replace loadProgramInfo util method with loadProgramInfoFromJson, which expects an Object parameter instead of a File parameter.
    • buildComparisonTreemap now expects two Object parameters for oldJson and newJson instead of two File parameters.
    • compare command now prints difference breakdown by node type when this information is available.
    Open source →
  14. 0.5.0+1 15 Jul 2020
    Release notes
    • Fix broken package by moving non-executable file out of bin/ directory.
    Open source →
  15. 0.4.0 03 Jul 2020
    Release notes
    • Add buildComparisonTreemap for constructing treemap representing the diff between two size profiles.
    • Implemented support for extracting call graph information from the AOT compiler trace (--trace-precompiler-to flag), see precompiler_trace.dart.
    • New command explain dynamic-calls which estimates the impact of different dynamic calls on the resulting AOT snapshot size using information from the size dump (e.g. V8 snapshot profile) and AOT compiler trace.
    • summary command can now use information from the AOT compiler trace to group packages/libraries together with their dependencies to given more precise estimate of how much a specific package/library brings into the snapshot.
    Open source →
  16. 0.3.0 25 Jun 2020
    Release notes
    • 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 available
      • collapsed essentially renders ProgramInfo as a treemap, individual snapshot nodes are ignored.
      • simplified same as collapsed, 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 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.
    Open source →
  17. 0.2.0 24 Jun 2020
    Release notes
    • 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 that ProgramInfoNode and not to its parent. For example Function node corresponds to ProgramInfoNode of type functionNode, previously the size of Function node would be attributed to the parent of this ProgramInfoNode, 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.
    Open source →
  18. 0.1.0 23 Jun 2020
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive