René's URL Explorer Experiment


Title: Build with "ng -prod" is extremely slow · Issue #6795 · angular/angular-cli · GitHub

Open Graph Title: Build with "ng -prod" is extremely slow · Issue #6795 · angular/angular-cli

X Title: Build with "ng -prod" is extremely slow · Issue #6795 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [ x] bug report -> please search issues before submitting - [ ] feature request Versions. ng --version _ _ ____ _ ___ / \ _ __ __ _ _ | | __ _ _ __ / | | | | / △ \ | ' \ / _ | | | | |/ _ |...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [ x] bug report -> please search issues before submitting - [ ] feature request Versions. ng --version _ _ ____ _ ___ / \ _ __ __ _ _ | | __ _ _ __ ...

X Description: Bug Report or Feature Request (mark with an x) - [ x] bug report -> please search issues before submitting - [ ] feature request Versions. ng --version _ _ ____ _ ___ / \ _ __ __ _ _ | | __ _ _ ...

Opengraph URL: https://github.com/angular/angular-cli/issues/6795

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build with \"ng -prod\" is extremely slow","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\nng --version\r\n    _                      _                 ____ _     ___\r\n   / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n  / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n/_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n               |___/\r\n@angular/cli: 1.1.0\r\nnode: 7.9.0\r\nos: win32 x64 (Win 10 Enterpirise - 16Gig , i7)\r\n@angular/animations: 4.0.0\r\n@angular/common: 4.0.0\r\n@angular/compiler: 4.0.0\r\n@angular/core: 4.0.0\r\n@angular/forms: 4.0.0\r\n@angular/http: 4.0.0\r\n@angular/platform-browser: 4.0.0\r\n@angular/platform-browser-dynamic: 4.0.0\r\n@angular/router: 4.0.0\r\n@angular/cli: 1.1.0\r\n@angular/compiler-cli: 4.0.0\r\n@angular/language-service: 4.0.0\r\n\r\n\r\n\r\n### Repro steps.\r\n$ ng build --prod --aot=false -ec --sourcemap=false\r\nHash: 552d9867ececa788ac3a\r\nTime: **670222ms**\r\nchunk    {0} polyfills.d77767cee98c83f90386.bundle.js (polyfills) 294 kB {5} [initial] [rendered]\r\nchunk    {1} main.255e1d27fe4d40b56ab2.bundle.js (main) 1.51 MB {4} [initial] [rendered]\r\nchunk    {2} scripts.45a4574f31d7b91e5a5e.bundle.js (scripts) 3.88 MB {5} [initial] [rendered]\r\nchunk    {3} styles.ac17d766c993c4027892.bundle.css (styles) 228 bytes {5} [initial] [rendered]\r\nchunk    {4} vendor.86c029ec4598fb674488.bundle.js (vendor) 8.23 MB [initial] [rendered]\r\nchunk    {5} inline.750f0337ff0a9bee9813.bundle.js (inline) 0 bytes [entry] [rendered]\r\n\r\nng build --aot -ec -sm\r\nHash: 24f744145f250126e699\r\nTime: **62809ms**\r\nchunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 294 kB {5} [initial] [rendered]\r\nchunk    {1} main.bundle.js, main.bundle.js.map (main) 3.07 MB {4} [initial] [rendered]\r\nchunk    {2} scripts.bundle.js, scripts.bundle.js.map (scripts) 3.88 MB {5} [initial] [rendered]\r\nchunk    {3} styles.bundle.css, styles.bundle.css.map (styles) 228 bytes {5} [initial] [rendered]\r\nchunk    {4} vendor.bundle.js, vendor.bundle.js.map (vendor) 7.37 MB [initial] [rendered]\r\nchunk    {5} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]\r\n\r\n### 670222ms vs 62809ms is a huge difference\r\n\r\n### The log given by the failure.\r\nThere is no failure , the build takes a very long time to complete its stuck at \r\n` 92% chunk asset optimization` and then we have to wait for 10-15 mins to get the build completed.\r\nI have disabled aot and sourcemaps, still the speed is very slow.\r\n\r\n### Desired functionality.\r\nbuild should have similar time that to of `ng build -aot`\r\n\r\nAny help and guidance to reduce will be helpful. ","author":{"url":"https://github.com/ankeshdave","@type":"Person","name":"ankeshdave"},"datePublished":"2017-06-24T04:28:11Z","url":"https://github.com/angular/angular-cli/issues/6795"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:37d9dd06-853b-f5ae-8293-b51d0fdfc9d8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8B20:38C5CF:180586D:1E98B8B:6B0127CF
html-safe-nonced9865ed3c778a45a824d7083db233d88c1db22c24abc45d308b8a4df51621402
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjIwOjM4QzVDRjoxODA1ODZEOjFFOThCOEI6NkIwMTI3Q0YiLCJ2aXNpdG9yX2lkIjoiMjc3NDg2NjM1NDY5ODc5MDg2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5a654ce22f981c22d8e6da6b55518c4abb190d2ef2ff20dba79a7d233f93e69f
hovercard-subject-tagissue:238293894
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/6795/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f437578ba472b3454c6faa0c30f12432160e8cf2467953d1e5a5e0e13482b6bb/angular/angular-cli/issues/6795
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f437578ba472b3454c6faa0c30f12432160e8cf2467953d1e5a5e0e13482b6bb/angular/angular-cli/issues/6795
og:image:altBug Report or Feature Request (mark with an x) - [ x] bug report -> please search issues before submitting - [ ] feature request Versions. ng --version _ _ ____ _ ___ / \ _ __ __ _ _ | | __ _ _ __ ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameankeshdave
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/6795#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F6795
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F6795
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/6795
Reloadhttps://github.com/angular/angular-cli/issues/6795
Reloadhttps://github.com/angular/angular-cli/issues/6795
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/6795
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/6795
Build with "ng -prod" is extremely slowhttps://github.com/angular/angular-cli/issues/6795#top
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
https://github.com/ankeshdave
ankeshdavehttps://github.com/ankeshdave
on Jun 24, 2017https://github.com/angular/angular-cli/issues/6795#issue-238293894
Nexthttps://github.com/angular/angular-cli/issues/6795?timeline_page=1
https://github.com/ankeshdave
ankeshdavehttps://github.com/ankeshdave
on Jun 25, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-310896785
@filipesilvahttps://github.com/filipesilva
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Jun 27, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-311357827
webpack/webpack#4863https://github.com/webpack/webpack/issues/4863
#6813https://github.com/angular/angular-cli/pull/6813
filipesilvahttps://github.com/filipesilva
on Jun 27, 2017https://github.com/angular/angular-cli/issues/6795#event-1140498615
filipesilvahttps://github.com/filipesilva
needs: more infoReporter must clarify the issuehttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20more%20info%22
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
on Jun 27, 2017https://github.com/angular/angular-cli/issues/6795#event-1140498697
https://github.com/elvisbegovic
elvisbegovichttps://github.com/elvisbegovic
on Jun 28, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-311613345
@filipesilvahttps://github.com/filipesilva
https://plnkr.co/edit/xMf8HXoNIhq3urJ6cPXQ?p=previewhttps://plnkr.co/edit/xMf8HXoNIhq3urJ6cPXQ?p=preview
https://github.com/GoNode5
GoNode5https://github.com/GoNode5
on Jun 29, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-312092482
@filipesilvahttps://github.com/filipesilva
https://github.com/hoangit21
hoangit21https://github.com/hoangit21
on Sep 21, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-331043448
https://user-images.githubusercontent.com/4167231/30678118-4a74c944-9eba-11e7-89d8-1ba2e18b9cb2.png
https://github.com/billdwhite
billdwhitehttps://github.com/billdwhite
on Sep 27, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-332683631
https://github.com/billdwhite
billdwhitehttps://github.com/billdwhite
on Sep 28, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-332691393
https://github.com/ShadowManu
ShadowManuhttps://github.com/ShadowManu
on Oct 28, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-340140797
@filipesilvahttps://github.com/filipesilva
https://github.com/mko
mkohttps://github.com/mko
on Nov 9, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-343330127
https://github.com/thatisuday
thatisudayhttps://github.com/thatisuday
on Nov 17, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-345340614
https://github.com/gozeon
gozeonhttps://github.com/gozeon
on Nov 23, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-346518122
https://github.com/KissBalazs
KissBalazshttps://github.com/KissBalazs
on Nov 30, 2017https://github.com/angular/angular-cli/issues/6795#issuecomment-348252898
https://github.com/hahn-kev
hahn-kevhttps://github.com/hahn-kev
on Dec 1, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-443411335
@HarelMhttps://github.com/HarelM
https://github.com/HarelM
HarelMhttps://github.com/HarelM
on Dec 1, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-443459813
https://github.com/HarelM
HarelMhttps://github.com/HarelM
on Dec 3, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-443878272
#5618https://github.com/angular/angular-cli/issues/5618
https://github.com/jamesona
jamesonahttps://github.com/jamesona
on Dec 4, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-444218181
@thenslersehttps://github.com/thenslerse
https://github.com/muthufmass
muthufmasshttps://github.com/muthufmass
on Dec 10, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-445718681
https://github.com/yeahrow
yeahrowhttps://github.com/yeahrow
on Dec 14, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-447303813
@Brandon-Bornhttps://github.com/Brandon-Born
https://github.com/skylarmb
skylarmbhttps://github.com/skylarmb
on Dec 17, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-448042734
https://github.com/alberto-chiesa
alberto-chiesahttps://github.com/alberto-chiesa
on Dec 21, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-449362860
@skylarmbhttps://github.com/skylarmb
https://github.com/inthegarage
inthegaragehttps://github.com/inthegarage
on Dec 21, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-449406373
@alberto-chiesahttps://github.com/alberto-chiesa
https://github.com/alberto-chiesa
alberto-chiesahttps://github.com/alberto-chiesa
on Dec 21, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-449409556
@inthegaragehttps://github.com/inthegarage
https://github.com/inthegarage
inthegaragehttps://github.com/inthegarage
on Dec 21, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-449438854
@alberto-chiesahttps://github.com/alberto-chiesa
https://github.com/rafa-suagu
rafa-suaguhttps://github.com/rafa-suagu
on Dec 23, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-449632876
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Dec 27, 2018https://github.com/angular/angular-cli/issues/6795#issuecomment-450151314
#12646https://github.com/angular/angular-cli/issues/12646
angular/angular#26734https://github.com/angular/angular/pull/26734
microsoft/TypeScript#28028https://github.com/microsoft/TypeScript/pull/28028
#12646 (comment)https://github.com/angular/angular-cli/issues/12646#issuecomment-435189691
#13102https://github.com/angular/angular-cli/issues/13102
#13309https://github.com/angular/angular-cli/pull/13309
https://user-images.githubusercontent.com/4172079/50481231-524ee980-09d8-11e9-8e07-d147139d38a2.png
https://user-images.githubusercontent.com/4172079/50481235-5a0e8e00-09d8-11e9-933d-4079711d8c0a.png
#5618https://github.com/angular/angular-cli/issues/5618
#5618 (comment)https://github.com/angular/angular-cli/issues/5618#issuecomment-450151214
filipesilvahttps://github.com/filipesilva
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 27, 2018https://github.com/angular/angular-cli/issues/6795#event-2045910722
angularhttps://github.com/angular
on Dec 27, 2018https://github.com/angular/angular-cli/issues/6795#event-2045910931
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/6795
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/6795
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.