Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[DI] Add "container.hot_path" tag to flag the hot path and inline related services #24872
This PR is the result of my quest to squeeze some performance out of 3.4/4.0.
It builds on two ideas:
The end result is significant, even on a simple Hello World.
Yes it's better. And like that the name of the tag will be the same as the CompilerPass ;)
It depends. We already use some inlining feature in Blackfire. It could be useful anyway.
referenced this pull request
Nov 8, 2017
On my biggest monolith app I can also measure a slight performance benefit for one html page that I tested
So for me its roughly 2% faster. Not quite as significant as in your benchmarks. Under which conditions did you benchmark @nicolas-grekas ?