Clarify --diagnostics report units
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
从 TypeScript 编译器的 --diagnostics 输出开始,查找 parse、bind、check、emit、total time 和 memory used 的文档及指标定义。明确每个指标可能使用的单位,以及计时使用的是 wall time 还是 CPU time;当文档能够为解析报告的人回答这些问题时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I've been recently looking at parsing --diagnostics output to report to out metrics service so that we can monitor compile times and while attempting to normalize values to a common unit (e.g. durations to seconds and memory used to MB), I've noticed that the docs are not very clear about the metric definitions and their respective units.
I would love if the docs specified what are the possible units that may be reported for each metric. For instance, can Total time be reported in milliseconds or even minutes right now? I see that memory used is reported as K, I assume that is kilobytes, but I'm not sure.
Less importantly, but in a similar vein, the duration timings (parse, bind, check, emit and total time) do not specify if these metrics are reported in wall time or CPU time. (it doesnt make much difference for our purposes, but it would be good to know how the metric may be affected).
If someone can point me to the relevant files where these metrics are measured, I would happy to take a stab at opening a PR :)
Thanks so much!
- 主要语言
- JavaScript
- 星标
- 759
- 派生
- 315
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/TypeScript-wiki 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 50/100
microsoft/TypeScript-wiki#327 ·
-
难度 5/5 一周以上 新手友好度 15/100
microsoft/TypeScript-wiki#323 ·
-
难度 2/5 1-3 小时 新手友好度 25/100
microsoft/TypeScript-wiki#307 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 20/100
microsoft/TypeScript-wiki#266 ·
-
难度 4/5 3-5 天 新手友好度 25/100
microsoft/TypeScript-wiki#260 · 2 条评论 ·
查看 microsoft/TypeScript-wiki 的全部 Issue
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100