angular / angular/components

Significant Slowdown in M3 Runtime Compilation

オープン
#28,971 コメント 10 件 リアクション 2 件 担当者 0 名 GitHub で見る
area: material/core M3 needs investigation P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

Building our NX monorepo, particularly when utilizing M3 material components at runtime, is experiencing noticeable delays. This slowdown in compilation time is impacting our development efficiency.

Without M3, the compilation process takes approximately 2 seconds. However, with M3 integrated, the compilation time extends to 40 seconds or more.

### Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

### Expected Behavior
.

### Actual Behavior

.

### Environment

- Angular: v18.0.0-rc.0
- CDK/Material: v18.0.0-rc.0
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): mac

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

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

調査の方向性

利用可能な再現リンク、手順、ファイル、テスト、エントリポイントは提供されていません。まず、Angular Material M3 のランタイムコンポーネントあり・なしで NX モノレポのビルドを再現し、報告されているおよそ 2 秒と 40 秒のコンパイル時間を比較してください。完了条件は、遅延の原因を切り分け、コンパイル時間が改善されたことを検証することです。

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

評価

技術スタック
angular, typescript
領域
frontend, performance
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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