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

perf: module lazy import #10646

Merged
merged 4 commits into from
Mar 1, 2023
Merged

perf: module lazy import #10646

merged 4 commits into from
Mar 1, 2023

Conversation

fz6m
Copy link
Contributor

@fz6m fz6m commented Mar 1, 2023

这个 PR 做的事:

  1. 性能优化,详见 [Task] 优化 max 性能 #10645

  2. 改掉历史代码里不规范的 lazy import 写法

@vercel
Copy link

vercel bot commented Mar 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
umi ⬜️ Ignored (Inspect) Mar 1, 2023 at 6:46AM (UTC)

prettier.format(JSON.stringify(projectPkg), {
parser: 'json',
}),
`${JSON.stringify(projectPkg, null, 2)}\n`,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不用 Prettier 了,这是一个显著的性能瓶颈,会浪费很多时间。

@fz6m fz6m mentioned this pull request Mar 1, 2023
5 tasks
@sorrycc sorrycc merged commit 8e8d3bf into umijs:master Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants