vm_snapshot_analysis 0.7.2 copy "vm_snapshot_analysis: ^0.7.2" to clipboard
vm_snapshot_analysis: ^0.7.2 copied to clipboard

outdated

Utilities for analysing AOT snapshot size.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate vm_snapshot_analysis

Use it

The package has the following executables:

$ snapshot_analysis

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add vm_snapshot_analysis

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  vm_snapshot_analysis: ^0.7.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:vm_snapshot_analysis/ascii_table.dart';
import 'package:vm_snapshot_analysis/instruction_sizes.dart';
import 'package:vm_snapshot_analysis/name.dart';
import 'package:vm_snapshot_analysis/precompiler_trace.dart';
import 'package:vm_snapshot_analysis/program_info.dart';
import 'package:vm_snapshot_analysis/treemap.dart';
import 'package:vm_snapshot_analysis/utils.dart';
import 'package:vm_snapshot_analysis/v8_profile.dart';