Title: v7.0.0 bugs and 4/5x slower serve & compile AOT · Issue #12646 · angular/angular-cli · GitHub
Open Graph Title: v7.0.0 bugs and 4/5x slower serve & compile AOT · Issue #12646 · angular/angular-cli
X Title: v7.0.0 bugs and 4/5x slower serve & compile AOT · Issue #12646 · angular/angular-cli
Description: I hesitate to open this issue on angular page. I opened same issue title 2 week ago here without AOT : v7.rc.0 serving 2x - 3x slower than stable versions on my projects after moving to angular 7.0.0 all is slower (jit seems OK) I'm subm...
Open Graph Description: I hesitate to open this issue on angular page. I opened same issue title 2 week ago here without AOT : v7.rc.0 serving 2x - 3x slower than stable versions on my projects after moving to angular 7.0...
X Description: I hesitate to open this issue on angular page. I opened same issue title 2 week ago here without AOT : v7.rc.0 serving 2x - 3x slower than stable versions on my projects after moving to angular 7.0...
Opengraph URL: https://github.com/angular/angular-cli/issues/12646
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v7.0.0 bugs and 4/5x slower serve & compile AOT","articleBody":"I hesitate to open this issue on angular page. I opened same issue title 2 week ago here without AOT : [v7.rc.0 serving 2x - 3x slower than stable versions on my projects](https://github.com/angular/angular-cli/issues/12432) after moving to angular 7.0.0 all is slower (jit seems OK)\r\n\r\n## I'm submitting a...\r\n[ x ] Performance issue\r\n[ x ] Bugs\r\n\r\n## Current behavior\r\nAll was OK with cli7rc3 and angular 6.1.10 \r\nThis morning after updating to angular 7.0.0 serving with JIT is ok but serving with AOT or build my application or generating i18n xmb file is 2-3 times slower\r\n\r\n\r\n## Expected behavior\r\nGet build/extract i18n time like with cli7rc3 and angular 6.1.10\r\n\r\n## 1. Minimal info of AOT serving \r\n0. My project have >1200 files.\r\n1. **Before** update `node --max-old-space-size=8192 ./node_modules/@angular/cli/bin/ng serve --aot --sourceMap=false --disableHostCheck --port=4200` first build finish in 45seconds and **Now** blocking: \r\n>3mn => `11% building modules 9/10 modules 1 active ...ojects\\i10\\src\\assets\\styles\\styles.css` and rest steps seems ok It finish in 228737ms\r\n2. **Before** update refresh(file edit) it finish in 30seconds and 3th refresh in 25seconds and **Now** it refresh in 200277ms and 3th refresh in **WARNING** : **381979ms** it is >6 minutes\r\n\r\n## 2. Minimal info of extract i18n \r\n1. Extract is 3-4 times slower than before update\r\n\r\nHere is my [angular.json config file](https://gist.github.com/istiti/1a8a217dcd4ca42661ec72dfe8ef87cd)\r\n\r\nI tried debug with ndb and share my profile data with `ng s --aot` but it seems not work ndb crash ( disk is highly used...): \r\n\r\n\r\n\r\n\r\n## Environment\r\n```\r\nAngular CLI: 7.0.1\r\nNode: 10.12.0\r\nOS: win32 x64\r\nAngular: 7.0.0\r\n... common, compiler, compiler-cli, core, forms, http\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.10.1\r\n@angular-devkit/build-angular 0.9.0-rc.3\r\n@angular-devkit/build-optimizer 0.9.0-rc.3\r\n@angular-devkit/build-webpack 0.9.0-rc.3\r\n@angular-devkit/core 7.0.1\r\n@angular-devkit/schematics 7.0.1\r\n@angular/cdk 6.4.7\r\n@angular/cli 7.0.1\r\n@angular/material 6.4.7\r\n@ngtools/webpack 7.0.0-rc.3\r\n@schematics/angular 7.0.1\r\n@schematics/update 0.10.1\r\nrxjs 6.3.3\r\ntypescript 3.1.3\r\nwebpack 4.19.1\r\n```\r\n\r\nOthers:\r\nmaybe related to : https://github.com/angular/angular/issues/26572 , https://github.com/angular/angular-cli/issues/12645\r\n\r\n@filipesilva heya, sorry to make noise again if you consider this as angular compiler problem(as I think) close or move it please","author":{"url":"https://github.com/elvisbegovic","@type":"Person","name":"elvisbegovic"},"datePublished":"2018-10-19T09:16:47Z","url":"https://github.com/angular/angular-cli/issues/12646"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:34eb4c73-9820-88a4-6913-43c6a8f3cbab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9580:2D2F2F:16F6341:1D6BD4A:6B012902 |
| html-safe-nonce | d9826a0914df55dc2e4ed53ecd40f3f3592931e4224f2790151058f7d5c86733 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTgwOjJEMkYyRjoxNkY2MzQxOjFENkJENEE6NkIwMTI5MDIiLCJ2aXNpdG9yX2lkIjoiNjg0ODAxODUzOTk4MzQ4MTA5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 759fddb1a6113856c5f339d272cd9a5553c9a2e5b6fdaab213f91cbfb7394273 |
| hovercard-subject-tag | issue:371872991 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/12646/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3cc69daa6484123ad13041b22c169f993694278b6c46002b8ea90160de077d45/angular/angular-cli/issues/12646 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3cc69daa6484123ad13041b22c169f993694278b6c46002b8ea90160de077d45/angular/angular-cli/issues/12646 |
| og:image:alt | I hesitate to open this issue on angular page. I opened same issue title 2 week ago here without AOT : v7.rc.0 serving 2x - 3x slower than stable versions on my projects after moving to angular 7.0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | elvisbegovic |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width