Skip to content
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

Allow disabling of CPU profiling #64

Open
weitzman opened this issue Jun 20, 2014 · 0 comments
Open

Allow disabling of CPU profiling #64

weitzman opened this issue Jun 20, 2014 · 0 comments

Comments

@weitzman
Copy link

CPU profiling is expensive to the point that it skews performance measurement. I edited the prepend.php to just xhprof_enable(XHPROF_FLAGS_MEMORY); but then I get the error:

Unexpected system behaviour.<br /> <b>Notice</b>: Undefined index: cpu in <b>/Users/moshe.weitzman/reps/xhprof.io/xhprof/classes/data.php</b> on line <b>198</b><br />

Would be nice to support running without CPU profiling.

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

No branches or pull requests

1 participant