devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Rework `Allocations` Tab in Memory Page

Open bkonyi opened this issue 3 years ago • 2 comments

Feature work:

  • [x] Reimplement allocation profile (e.g., breakdown memory + # of instances by class) (https://github.com/flutter/devtools/pull/4257)
  • [x] Reimplement allocation tracing (e.g., record and display stack traces for allocations of specified classes)
    • [x] https://github.com/flutter/devtools/pull/4364

Cleanup:

  • [x] Sort table by memory consumed rather than by class name
    • [x] In the tab Profile
    • [x] In the tab Tracing
  • [ ] explain in documentation what is included in inner (shallow) size of an object
  • [x] https://github.com/flutter/devtools/issues/4300
  • [ ] Add button 'Deselect All' for tracing
  • [x] https://github.com/flutter/devtools/issues/4484
  • [ ] Support button 'Clear' and 'Export' on the control pane?

cc @polina-c

bkonyi avatar Aug 03 '22 16:08 bkonyi

Related issues: https://github.com/flutter/devtools/issues/4315 https://github.com/flutter/devtools/issues/4314

polina-c avatar Aug 06 '22 02:08 polina-c

Is there a separate bug tracking documentation updates for the new memory screen? These two docs will become out of date once this change land in stable:

  • https://docs.flutter.dev/development/tools/devtools/memory
  • https://github.com/flutter/devtools/blob/master/case_study/memory_leaks/images_1_null_safe/README.md

InMatrix avatar Sep 27 '22 17:09 InMatrix