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

产出bundle的时间维度分析 #64

Open
otakustay opened this issue Jun 8, 2021 · 4 comments
Open

产出bundle的时间维度分析 #64

otakustay opened this issue Jun 8, 2021 · 4 comments
Labels
future Just requires attention if we love the future
Milestone

Comments

@otakustay
Copy link
Member

延续 #15 ,产出在时间维度上会变化,考虑增加一个多次产出间趋势对比的功能

需要解决在哪里存储产出分析的数据的问题

@otakustay otakustay mentioned this issue Jun 8, 2021
11 tasks
@otakustay otakustay added this to the 2.0 milestone Jun 8, 2021
@otakustay otakustay added this to To do in Version 2.0 Jul 9, 2021
@otakustay otakustay modified the milestones: 2.0, 3.0 Aug 19, 2021
@otakustay otakustay removed this from To do in Version 2.0 Aug 20, 2021
@otakustay otakustay added the future Just requires attention if we love the future label Aug 27, 2021
@isee15
Copy link

isee15 commented Jan 18, 2022

skr build --clean 能不能增加一些中间状态的输出,并加上时间戳。
想优化编译速度有没有建议?

@otakustay
Copy link
Member Author

你希望怎么样的中间状态?是把webpack的过程日志全部打印出来吗?

另外reSKRipt本身就在编译速度上做了不少优化,特别是在一次编译后依靠缓存的后续加速,你现在的速度是什么样的情况?

@isee15
Copy link

isee15 commented Jan 18, 2022

期望类似npm run build --stats 这样的,有一些统计信息和整体编译的耗时。
目前skr build --clean在流水线上执行的时间大概2min以上,大概比简单使用webpack多30s。
编译的缓存在什么位置,流水线上是不是要配置?

@otakustay
Copy link
Member Author

只想要stats的话,加上--analyze参数,跑完会有个dist/assets/stats.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future Just requires attention if we love the future
Projects
None yet
Development

No branches or pull requests

2 participants