Clarify --diagnostics report units
まだ誰も着手していません。
評価
- 難易度
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/TypeScript-wiki のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 50/100
microsoft/TypeScript-wiki#327 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
microsoft/TypeScript-wiki#323 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
microsoft/TypeScript-wiki#307 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/TypeScript-wiki#266 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/TypeScript-wiki#260 · コメント 2 件 ·
microsoft/TypeScript-wiki の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1414 ·
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·