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(ssr): improve ssrRenderSlot performance #6078

Merged
merged 1 commit into from Jun 13, 2022

Conversation

hkk12369
Copy link
Contributor

@hkk12369 hkk12369 commented Jun 8, 2022

This PR replaces isComment function in ssrRenderSlot with a faster version (upto 10x faster, see: https://jsbench.me/o5l45knpk2/1)

Old isComment: 8029029.23 ops/s (89.1% slower)
New isComment: 73631038.71 ops/s

Replaces isComment function with a faster version (upto 10x faster, see: https://jsbench.me/o5l45knpk2/1)
@yyx990803 yyx990803 merged commit 25f7a16 into vuejs:main Jun 13, 2022
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.

None yet

2 participants