FLUTTER ECOSYSTEM

vm_snapshot_analysis

Utilities for analysing AOT snapshot size.

Latest version
0.7.6
30-day downloads
7.2M
Likes
10
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The vm_snapshot_analysis package provides tools to examine the size and composition of AOT (Ahead-of-Time) snapshots in Flutter applications. It helps developers understand how code and assets contribute to the final app size, enabling optimization by identifying large or redundant components. This is particularly useful during performance tuning and app size reduction efforts. The analysis supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it a versatile debugging aid for cross-platform Flutter projects.

Use cases
  • Optimizing app bundle size
  • Identifying large code contributions
  • Debugging unexpected size growth
  • Analyzing AOT compilation output
  • Performance profiling
  • Cross-platform size comparison
Key features
  • Detailed snapshot size breakdown
  • Platform-agnostic analysis
  • Integration with Flutter build process
  • Support for multiple target platforms
  • Output in human-readable formats
  • Focus on AOT compilation efficiency
Suitable for
  • Flutter developers focused on app size
  • Performance engineers
  • Build optimization teams
  • Cross-platform app maintainers
  • DevOps engineers managing release pipelines
Considerations
  • Requires AOT snapshot files
  • Limited to static analysis
  • Not suitable for runtime profiling
  • May require additional setup for CI/CD
  • Best used post-build
  • Does not modify code or assets
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add vm_snapshot_analysis

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects