Command
build
Is this a regression?
The previous version in which this bug was not present was
17.3.8
Description
when we moved our product from angular 17.3.x to angular 18.1.x the build time increased a lot (its kind of what i guess it was before the nice new application builder)
17: Application bundle generation complete. [10.941 seconds]
18: Application bundle generation complete. [67.430 seconds]
also the cpu seems to spike a lot, and also memory useage seems to go through the roof. (maybe that last part is the problem)
it checked what the update from 17->18 really did, but there are not really any changes in the angular.json or tsconfig files.
The only thing that really changed in angular.json was the move for @nagular/localize/init (to the polyfills array)
Servoy/servoy-eclipse@168148f
Minimal Reproduction
i have created 2 dumps of pretty much the same code:
17.zip: https://drive.google.com/file/d/101jGhs4Ujdrb59MbA45CM8X9RHYOoVMh/view?usp=sharing
18.zip: https://drive.google.com/file/d/1PrykSeOWgokdfe29ta0wlkxCRIMSBr-Z/view?usp=sharing
if those are unzipped into there own dirs
then in the root dir "npm install" in the sub "Test" dir "npm install"
then run "npm run build_lib_debug_nowatch" once in the Test sub dir
and then you can run "npm run build_debug_nowatch"
then for me on my local system the one from 17 is around 11 seconds and the one from 18 is around 48 seconds
I did track it down because of the 2 extra packages we install, those are in the packages@servoy directory
it really seems to be related to that, adding more of this (and especially those 2) seems to add a lot of time.
Exception or Error
around the same build time as 17 .
Your Environment
Angular CLI: 18.1.2
Node: 20.16.0
Package Manager: npm 10.8.1
OS: win32 x64
Angular: 18.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1801.2
@angular-devkit/build-angular 18.1.2
@angular-devkit/core 18.1.2 (cli-only)
@angular-devkit/schematics 18.1.2 (cli-only)
@schematics/angular 18.1.2
ng-packagr 18.1.0
rxjs 7.8.1
typescript 5.5.4
zone.js 0.14.8
Anything else relevant?
No response
Command
build
Is this a regression?
The previous version in which this bug was not present was
17.3.8
Description
when we moved our product from angular 17.3.x to angular 18.1.x the build time increased a lot (its kind of what i guess it was before the nice new application builder)
17: Application bundle generation complete. [10.941 seconds]
18: Application bundle generation complete. [67.430 seconds]
also the cpu seems to spike a lot, and also memory useage seems to go through the roof. (maybe that last part is the problem)
it checked what the update from 17->18 really did, but there are not really any changes in the angular.json or tsconfig files.
The only thing that really changed in angular.json was the move for @nagular/localize/init (to the polyfills array)
Servoy/servoy-eclipse@168148f
Minimal Reproduction
i have created 2 dumps of pretty much the same code:
17.zip: https://drive.google.com/file/d/101jGhs4Ujdrb59MbA45CM8X9RHYOoVMh/view?usp=sharing
18.zip: https://drive.google.com/file/d/1PrykSeOWgokdfe29ta0wlkxCRIMSBr-Z/view?usp=sharing
if those are unzipped into there own dirs
then in the root dir "npm install" in the sub "Test" dir "npm install"
then run "npm run build_lib_debug_nowatch" once in the Test sub dir
and then you can run "npm run build_debug_nowatch"
then for me on my local system the one from 17 is around 11 seconds and the one from 18 is around 48 seconds
I did track it down because of the 2 extra packages we install, those are in the packages@servoy directory
it really seems to be related to that, adding more of this (and especially those 2) seems to add a lot of time.
Exception or Error
Your Environment
Anything else relevant?
No response