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
@stefanmeschke mentions importing and exporting several modules, maybe using index.ts. This is in line with a theory of mine that one of the causes could be index.ts files or modules exporting a bunch of stuff and causing webpack to have to traverse a lot of stuff for each rebuild. I haven't been able to test this theory to confirm or reject it, but will hopefully do that soon.
In any case, since build performance is so abysmal with TS and webpack, it will be really nice to start finding the best ways to code and structure apps in order to keep build times short.
Activity
borislemke commentedon Dec 5, 2016
@stefanmeschke how slow is slow to you? On my dev machine average reload is around 10 ~ 20 seconds and just under minute with
--aot.filipesilva commentedon Dec 30, 2016
I wonder if this is the same as #1980 or a separate problem the contributes to it.
@stefanmeschke can I ask you to give me a very precise repro with rebuild times? Something like
ng newng serve, change files a couple of times and had this rebuild time (this is important because the first few rebuilds are always slower)hccampos commentedon Dec 31, 2016
@stefanmeschke mentions importing and exporting several modules, maybe using index.ts. This is in line with a theory of mine that one of the causes could be index.ts files or modules exporting a bunch of stuff and causing webpack to have to traverse a lot of stuff for each rebuild. I haven't been able to test this theory to confirm or reject it, but will hopefully do that soon.
In any case, since build performance is so abysmal with TS and webpack, it will be really nice to start finding the best ways to code and structure apps in order to keep build times short.
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance
perf(@ngtools/webpack): Improve rebuild performance (#4145)
filipesilva commentedon Jan 24, 2017
Closed as inactive.
perf(@ngtools/webpack): Improve rebuild performance (angular#4145)
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.