Skip to content

Add tooling for enabling/disabling xdebug profiler #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2020

Conversation

mgalang
Copy link
Contributor

@mgalang mgalang commented Mar 5, 2020

Feature

This adds a tooling which allows developers to easily enable and disable the xdebug profiler when needed.

The profiler generates cachegrind.out. files in the /app directory which could be loaded to KCacheGrind (and similar) application for further analysis.

Note that this requires a working xdebug setup and assumes that xdebug is enabled (see lando xdebug-on)

Usage:
lando xdebug-profiler-on
lando xdebug-profiler-off

@mgalang mgalang requested a review from tormi March 5, 2020 08:32
Copy link
Member

@tormi tormi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks! Could you update readme's tools section as well?

@mgalang mgalang requested a review from tormi March 5, 2020 09:10
@tormi tormi merged commit e416c51 into master Mar 5, 2020
@tormi tormi deleted the feature/xdebug-profiler branch March 5, 2020 09:48
@hkirsman
Copy link
Contributor

hkirsman commented Mar 5, 2020

There's also issue at official Lando lando/lando#1954 (for Apache) Maybe something to borrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants