ddev / ddev-xhgui

XHGui service for a DDEV project
Apache License 2.0
10 stars 5 forks source link

Does it work outside of a framework or composer? #19

Closed hanoii closed 10 months ago

hanoii commented 10 months ago

I was trying out xhprof on ddev for the first time and submitted https://github.com/ddev/ddev/issues/5532.

I am about to try this on Drupal, but I was curious about this.

tyler36 commented 10 months ago

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 10 months ago

Closing.

PRs are welcome if you want to add no-framework or no-composer setup steps to the docs.