You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're in attempt to establish project references by splitting codes into multiple tsconfig projects. First migration attempt trying to make small project, then reference existing monolithic codebase. Enabling composite option to existing tsconfig however, makes overall compilation time excessively longer which we can't try this approach.
When enabled, other stats are nearly similar but only transformTime takes excessively longer on same machine.
Below's an example file from generated trace shows single file's transformNodes duration differences.
This looks like mostly occurring around .js files since we have allowJs: true and majority of files are still .js, but some of .ts and .tsx are large offenders around long transformTime as well.
It looks like #39969 is somewhat similar while it doesn't look like exact same.
🔎 Search Terms
Incremental build slow
🕗 Version & Regression Information
Experiencing tsc >= 4.1.3
⏯ Playground Link
💻 Code
// We can quickly address your report if:// - The code sample is short. Nearly all TypeScript bugs can be demonstrated in 20-30 lines of code!// - It doesn't use external libraries. These are often issues with the type definitions rather than TypeScript bugs.// - The incorrectness of the behavior is readily apparent from reading the sample.// Reports are slower to investigate if:// - We have to pare too much extraneous code.// - We have to clone a large repo and validate that the problem isn't elsewhere.// - The sample is confusing or doesn't clearly demonstrate what's wrong.
Due to internal policies, it is not possible to share actual code unfortunately. (and it's large)
🙁 Actual behavior
Whole compilation time takes more than hours
🙂 Expected behavior
Compilation time would increase, but within range of original compile time which takes less than 10 min in worst case.
The text was updated successfully, but these errors were encountered:
Seems like you will get same behavior if you enabled declaration. #42960 will postpone the cost to do declaration emit for shape to later time and #41219 will help you avoid that cost at expense of making every change seem like a change to non local file.
Bug Report
We're in attempt to establish project references by splitting codes into multiple tsconfig projects. First migration attempt trying to make small project, then reference existing monolithic codebase. Enabling
composite
option to existing tsconfig however, makes overall compilation time excessively longer which we can't try this approach.Please note few names are redacted.
Compilation executed via
due to there are some memory pressure causes OOM without increasing heap size.
When enabled, other stats are nearly similar but only
transformTime
takes excessively longer on same machine.Below's an example file from generated trace shows single file's transformNodes duration differences.
This looks like mostly occurring around
.js
files since we haveallowJs: true
and majority of files are still.js
, but some of.ts
and.tsx
are large offenders around long transformTime as well.It looks like #39969 is somewhat similar while it doesn't look like exact same.
🔎 Search Terms
Incremental build slow
🕗 Version & Regression Information
⏯ Playground Link
💻 Code
Due to internal policies, it is not possible to share actual code unfortunately. (and it's large)
🙁 Actual behavior
Whole compilation time takes more than hours
🙂 Expected behavior
Compilation time would increase, but within range of original compile time which takes less than 10 min in worst case.
The text was updated successfully, but these errors were encountered: