DDEV Adds XHGui Support for Easier PHP Profiling
DDEV v1.24.4 introduces integrated XHGui support for XHProf profiling, offering developers a more streamlined and user-friendly experience when identifying application performance issues. Funded by the TYPO3 Community Budget Ideas program, this enhancement brings a consistent, browser-based interface with persistent data storage and detailed insights into CPU and memory usage.
Previously, DDEV users relied on basic XHProf output, which lacked organization and was wiped on restart. The addition of XHGui solves these issues with a modern UI and a more efficient way to explore performance bottlenecks.
To enable XHGui, users can run `ddev config global --xhprof-mode=xhgui && ddev restart`
, followed by `ddev xhgui on`
to begin profiling. After interacting with their site, they can use `ddev xhgui launch`
to analyze profiling data in a browser.
This feature is the result of collaboration across the open-source community. The TYPO3 Organization funded the effort, while Elan Ruusamäe (glensc) maintained XHGui and supported integration. Community contributor tyler36 developed the original DDEV add-on and helped guide it into core.
Developers are encouraged to try the new profiling feature and share feedback. For more information and support, visit ddev.com.