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(js): Avoid rebuilding routes w/ memoization #28975

Conversation

evanpurkhiser
Copy link
Member

No description provided.

Copy link
Member

@matejminar matejminar left a comment

Choose a reason for hiding this comment

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

Good idea, our route tree is fairly large - I wonder if there'll be any measurable difference.

@evanpurkhiser
Copy link
Member Author

Looks like building routes takes ~5ms, so it's not super significant, but I think it's good.

@evanpurkhiser evanpurkhiser merged commit ffbd41f into master Sep 30, 2021
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/perf-js-avoid-rebuilding-routes-w-memoization branch September 30, 2021 09:26
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants