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

⚡ Accelerate start process for many routes #1081 #1134

Merged

Conversation

ReneWerner87
Copy link
Member

@ReneWerner87 ReneWerner87 commented Jan 24, 2021

Explain the details for making this change. What existing problem does the pull request solve?

with this pull request i want to solve issue #1081 and improve the startup process of fiber with many registered routes

with 4002 handler -> from ~2.3seconds to ~4ms

Test-code:
#1081 (comment)
but without the print in every registered handler

NEW:
with 4002 handlers:
image

with 2 handlers:
image

OLD:
with 4002 handlers
image

with 2 handlers
image

@Fenny
Copy link
Member

Fenny commented Jan 25, 2021

LGTM

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