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: improve creating & removing performace #1089

Merged
merged 4 commits into from
Jun 13, 2019

Conversation

chenjun1011
Copy link
Collaborator

渲染性能:当前容器没有子元素时,直接 mountChildren ,跳过原有的比对
删除节点的性能:当父节点被 removeChild 后,子元素不再重复执行 removeChild

image

Copy link
Collaborator

@wssgcg1213 wssgcg1213 left a comment

Choose a reason for hiding this comment

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

Approved

@yuanyan yuanyan merged commit 3a54999 into master Jun 13, 2019
@delete-merged-branch delete-merged-branch bot deleted the bench-improve-removing-perf branch June 13, 2019 09:09
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.

3 participants