Skip to content

dart-lang/leak_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CI

Memory leak_tracker

This is a framework for detecting memory issues in Dart and Flutter applications.

Packages

Package Description Version
leak_tracker (work in progress, used by flutter_test) A framework for memory leak tracking for Dart and Flutter applications. pub package
leak_tracker_testing (work in progress, used by flutter_test) Leak tracking code intended for usage in tests. pub package
leak_tracker_flutter_testing An internal package to test leak tracking with Flutter. pub package
memory_usage (experimental) A framework for memory usage tracking and snapshotting. pub package

Guidance

Ready for use:

Under construction:

Roadmap

Check Work in progress to see what is under construction.

Help us to prioritize future work by upvoting and commenting potential new features.

Contributing

For general contributing information, see Dart-wide CONTRIBUTING.md.

How to roll the latest version of this package to the Dart SDK repo

To upgrade Dart SDK with new version of memory_usage update leak_tracker commit hash for leak_tracker_rev in Dart SDK DEPS.

How to roll the latest version of this package to Flutter

To upgrade versions of leak_tracker and/or leak_tracker_testing used by testWidgets:

  1. Publish new version of the packages.

  2. Ask a googler to refresh the packages with copybara in G3.

  3. Upgrade Flutter:

    Update versions of leak_tracker and/or leak_tracker_testing in the files:

    • packages/flutter/pubspec.yaml
    • packages/flutter_test/pubspec.yaml
    • packages/flutter_tools/lib/src/commands/update_packages.dart

How to regenerate DEPENDENCIES.md

To regenerate diagrams, run in the root of packages:

dart run layerlens