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

[Stable10] only parse info.xml once #34482

Merged
merged 1 commit into from
Feb 14, 2019

Conversation

VicDeo
Copy link
Member

@VicDeo VicDeo commented Feb 14, 2019

Backport of #30188

I was profiling the preview stuff and noticed that we are parsing all info.xml files twice per request.

status phppng

Top left: current state
Top rigth: cache in local variable per request for file as well.
Bottom left: This PR, cold cache
Bottom right: cached info.xml

x6 speed increase

Related: #30190

@VicDeo VicDeo added this to the development milestone Feb 14, 2019
@VicDeo VicDeo self-assigned this Feb 14, 2019
@VicDeo VicDeo force-pushed the stable10-only-parse-info.xml-once branch from e37c8a2 to ebc3f04 Compare February 14, 2019 12:38
Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81 PVince81 merged commit 4704713 into stable10 Feb 14, 2019
@delete-merged-branch delete-merged-branch bot deleted the stable10-only-parse-info.xml-once branch February 14, 2019 14:54
@butonic
Copy link
Member

butonic commented Feb 14, 2019

omg finally \o/

@PVince81 PVince81 modified the milestones: development, QA Apr 12, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants