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

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

With Flutter:

 $ flutter 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.6

Alternatively, your editor might support dart pub get or flutter 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';