Skip to content

Refactor from getRouteCollection to generate and match to improve performance#26

Open
Evan Owens (nurikabe) wants to merge 3 commits intoPGSSoft:masterfrom
nurikabe:optimize-router
Open

Refactor from getRouteCollection to generate and match to improve performance#26
Evan Owens (nurikabe) wants to merge 3 commits intoPGSSoft:masterfrom
nurikabe:optimize-router

Conversation

@nurikabe
Copy link
Copy Markdown

@nurikabe Evan Owens (nurikabe) commented Oct 17, 2023

Use of getRouteCollection is a known performance issue:

Discovered with Blackfire.io: Symfony's route cache gets rebuilt for every request when pgs-soft/hashid-bundle is installed.

This should leave the cache intact.

@nurikabe Evan Owens (nurikabe) changed the title Generate and match Refactor to from getRouteCollection to generate and match to improve performance Oct 17, 2023
@nurikabe Evan Owens (nurikabe) changed the title Refactor to from getRouteCollection to generate and match to improve performance Refactor from getRouteCollection to generate and match to improve performance Oct 18, 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.

1 participant