Incorporate xhprof/xhgui profiling directly into DDEV

By @rfay

What is your idea about?
XHProf is a longstanding PHP Profiler, well-known and well-understood. DDEV has had modest support for it for years, and DDEV has a ddev-xhgui add-on, but it doesn’t yet have explicit support for TYPO3 and requires some relatively awkward manual configuration.

What do you want to achieve by the end of Q1 2025?

  1. Make xhprof integration in DDEV less complex and remove the bind-mounting of the xhprof directory.
  2. Implement xhgui directly into DDEV so it can be used directly (or as fallback, improve the add-on so it can be used directly without onerous configuration).
  3. Make xhgui explicitly support TYPO3 projects.

What is the potential impact of your idea for the overall goal?
TYPO3 community members can more easily use XHprof, and see the results with xhgui without having to do any configuration. The entire DDEV community benefits from this as well.

Which budget do you need for your idea?

7.500 Euro

Please note: After the start of the voting we can not change the idea description nor the idea outcome. If this idea is selected by the members, it must be archived as described.

6 Likes

I think this could really help to identify performance bottlenecks more easily.
To get people started, it would be really helpful to have an explanatory video included in the list of achievements, where the use with a real website shows how to interpret the data in the environment of a TYPO3 project.

Great thought. I don’t think I can change the list of achievements, but will plan to do a blog/video explaining this when we do it. I added that to general goals for next year, more videos.

1 Like