Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码构建过慢, 需要优化 #1823

Open
dinghui40 opened this issue Jan 4, 2024 · 3 comments
Open

源码构建过慢, 需要优化 #1823

dinghui40 opened this issue Jan 4, 2024 · 3 comments
Assignees
Labels
kind/feature Feature Suggestions
Milestone

Comments

@dinghui40
Copy link
Contributor

前端构建会对 node_modules 缓存目录文件进行持久化存储到 grdata 的 pvc 当中, 当我再次构建前端组件 Builder 会从 pvc 拷贝 node_modules 缓存文件进行构建, 而不是挂载, 导致组件构建时间过长。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Front-end source code construction is too slow and needs optimization

The front-end build will persist the node_modules cache directory files and store them in grdata's pvc. When I build the front-end component again, the Builder will copy the node_modules cache files from pvc to build instead of mounting them, which causes the component build time to be too long.

@yangkaa yangkaa assigned DokiDoki1103 and unassigned yangkaa Jan 4, 2024
@yangkaa yangkaa added the kind/feature Feature Suggestions label Jan 4, 2024
@yangkaa yangkaa added this to the 5.18.0 milestone Jan 4, 2024
@yangkaa yangkaa changed the title 前端源码构建过慢, 需要优化 源码构建过慢, 需要优化 Jan 12, 2024
@yangkaa
Copy link
Collaborator

yangkaa commented Jan 12, 2024

不仅前端源码构建慢,现在需要考虑各类源码以及Dockerfile构建均增加缓存机制,提升构建速度

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Not only is the front-end source code construction slow, but now it is necessary to consider adding a caching mechanism for various source codes and Dockerfile construction to improve the construction speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Feature Suggestions
Projects
Status: Todo
Development

No branches or pull requests

4 participants