Does it work outside of a framework or composer?
Closed this issue · 2 comments
hanoii commented
I was trying out xhprof on ddev for the first time and submitted ddev/ddev#5532.
I am about to try this on Drupal, but I was curious about this.
tyler36 commented
It should work without a framework or composer.
This addon provides the endpoint, xhgui (and mongo database storage). As long as you code loads collectors and sends them to xhgui, I think you'll be find.
Check out: https://github.com/perftools/xhgui#profiling-a-web-request-or-cli-script
tyler36 commented
Closing.
PRs are welcome if you want to add no-framework or no-composer setup steps to the docs.