microsoft / microsoft/TypeScript
Performance regression in #33473
オープン
@weswigham がすでに取り組んでいます。
2021年11月3日 から。
Domain: Performance
Needs Investigation
Rescheduled
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
The extra work done in #33473 is valuable, but maybe it doesn't need to be so expensive. In this particular case, there don't seem to be any errors (though there is one @ts-ignore).
Setup:
- Clone https://github.com/amcasey/material-ui.git
- Check out Benchmark
yarnto restore packagesyarn typescriptto prebuild and run some TS tests
Repro
tsc -p docs
On a random Mac Mini:
- 10-run avg on https://github.com/microsoft/TypeScript/commit/6c2ae12559508b594f7038f8d6165b92ec89c58c: 33,010ms
- 10-run avg on https://github.com/microsoft/TypeScript/commit/26caa3793e310e271ddee8adc1804486e5b0749f: 33,494ms (1% slower)
Note: to build old TS commits, you probably need to change const { default: chalk } to const chalk in scripts/build/utils.js.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。