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

Fix xhprof integration, install xhprof through composer and build xhprof through composer. #6035

Merged
merged 12 commits into from Aug 21, 2014

Conversation

diosmosis
Copy link
Member

As title. Refs #5995.

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
Copy link
Member

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?

@coveralls
Copy link

Coverage Status

Coverage decreased (-25.52%) when pulling 692ecd8 on 5995_xhprof_improvements into 0610a6d on master.

@mattab
Copy link
Member

mattab commented Aug 21, 2014

looks good to me

@sgiehl any idea why the coveralls comments indicate -25% coverage when this PR should not impact code coverage?

@sgiehl
Copy link
Member

sgiehl commented Aug 21, 2014

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...

@sgiehl
Copy link
Member

sgiehl commented Aug 21, 2014

Shall I disable that feature for now?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) when pulling 0d2c4ce on 5995_xhprof_improvements into 0610a6d on master.

diosmosis pushed a commit that referenced this pull request Aug 21, 2014
Fix xhprof integration, install xhprof through composer and build xhprof through composer.
@diosmosis diosmosis merged commit 8da43a3 into master Aug 21, 2014
@diosmosis diosmosis deleted the 5995_xhprof_improvements branch August 21, 2014 22:03
@mattab
Copy link
Member

mattab commented Aug 23, 2014

Shall I disable that feature for now?

@sgiehl +1 for disabling the feature for now (maybe in couple months we could look at it again?)

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.

None yet

4 participants