flutter / flutter/devtools

Unclear significance of “Inclusive” vs. “Exclusive” in the Trace Instances view

未关闭
#5,175 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
memory > tracing P3 screen: memory ux
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

In the Trace Instances view, there was an Inclusive column and Exclusive column. However, it's unclear when the distinction is important. The tooltips for the two columns don't provide sufficient information (see the screenshots below). I wasn’t sure when I should pay attention to the difference between the Inclusive column and the Exclusive column. I also didn't find documentation about these two columns at https://docs.flutter.dev/development/tools/devtools/memory#trace-tab.

![Image](https://user-images.githubusercontent.com/348942/216455684-b9d12329-f9e6-4570-96a8-bf91258fdd1e.png)

Recommendations:
- Consider revising the column names and tooltips.
- Describe these two columns and their use cases in [documentation](https://docs.flutter.dev/development/tools/devtools/memory#trace-tab).

贡献指南

打开贡献指南

调研方向

先查看 Trace Instances 视图及其 Inclusive 和 Exclusive 列的工具提示,然后阅读 docs.flutter.dev/development/tools/devtools/memory#trace-tab 中链接的内存文档。酌情更新列名或工具提示,并在 Trace 标签页部分记录两者的区别和使用场景;当 UI 指引和链接的文档都说明每一列在何时起作用时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
developer-experience, documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。