Description
Initially reported in angular/angular#26674 (comment) by @sod
hm indeed, just updating ngtools gives me the slowdown. Also using angular 7.1 with old ngtools 7.0.7 is significantly faster.
versions | 1st run | 2nd run | 3rd run | 4th run | 5th run |
---|---|---|---|---|---|
@angular 7.0.4, @ngtools 7.0.7 |
31s | 15s | 7s | 5s | 5s |
@angular 7.0.4, @ngtools 7.1.0 |
29s | 14.5s | 15.5s | 12s | 12s |
@angular 7.1.1, @ngtools 7.1.0 |
29s | 13.5s | 13.5s | 15s | 16s |
@angular 7.1.1, @ngtools 7.0.7 |
28s | 12.8s | 7s | 5s | 4.2s |
Activity
sod commentedon Nov 30, 2018
this is how the chart looks in the 4th run with 7.0.7

and this with 7.1.0

The 7.0 log is 9MB, the 7.1 log is 75MB :D
sod commentedon Nov 30, 2018
Seems like diagnostics runs even though that should run in a seperate process?
sod commentedon Nov 30, 2018
I guess #12824 caused this? I'm not sure if this is the intended behavior. An opt-out would be nice.
hccampos commentedon Dec 5, 2018
Just another data point here:
RidhwanDev commentedon Dec 6, 2018
Hi, How can i downgrade @ngTools to 7.0.7?
Thanks
sod commentedon Dec 6, 2018
‘npm i @ngtools/webpack@7.0‘
33 remaining items