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
Fix xhprof integration, install xhprof through composer and build xhprof through composer. #6035
Conversation
return; | ||
$xhProfPath = PIWIK_INCLUDE_PATH . '/vendor/facebook/xhprof/extension/modules/xhprof.so'; | ||
if (!file_exists($xhProfPath)) { | ||
throw new Exception("Cannot find xhprof, run 'composer update' and build the extension."); // TODO: automate building w/ composer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// TODO: automate building w/ composer
maybe it's done already as I see it in composer.json?
…ion and correctly aggregate xhprof runs (xhprof aggregation will always normalize so we must aggregate ourselves).
61fae4a
to
692ecd8
Compare
looks good to me @sgiehl any idea why the coveralls comments indicate -25% coverage when this PR should not impact code coverage? |
Yes. The coverage is built out of three travis builds. Coveralls seems to comment as soon as the first data arrives. As soon as other data arrives it updates the comment. In that case only data of Core tests arrived. Plugin test didn't because of a coveralls server failure and the part of Integration tests timed out after 50 minutes... |
Shall I disable that feature for now? |
…ilerXHProf that are no longer necessary.
Fix xhprof integration, install xhprof through composer and build xhprof through composer.
@sgiehl +1 for disabling the feature for now (maybe in couple months we could look at it again?) |
As title. Refs #5995.