microsoft / microsoft/TypeScript

Include results from `--extendedDiagnostics` when using the compiler API

オープン
#61,229 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Awaiting More Feedback Suggestion
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
2日 4時間
マージ済み PR(30日)
132

説明

🔍 Search Terms

extendedDiagnostics, compiler API

✅ Viability Checklist
⭐ Suggestion

For users of the TypeScript compiler API, it would be extremely useful to include the performance statistics obtained when using the --extendedDiagnostics compiler option.

From the review I've done in this codebase, it seems like this performance information is only reported when invoking tsc directly.

📃 Motivating Example

"The compiler API can now report performance information when enabling the extendedDiagnostics compiler option"

💻 Use Cases
  1. What do you want to use this for? Investigating performance variations in a project that interacts with TypeScript using the compiler API.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、tsc を呼び出したときに --extendedDiagnostics オプションがパフォーマンス情報をどのように報告するかを追跡し、その経路を Compiler API と比較します。Compiler API がこれらの統計情報をどのように公開すべきかを定義し、Compiler API の利用者がパフォーマンス調査のためにそれらを取得できることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
compilers, performance
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。