HomePhabricator

Change XHProf output format

Description

Change XHProf output format

Summary: Currently the output from --xprofile is in compatible with the XHProf application. Specifically, the XHProf application expects JSON encoded data.

Test Plan:

  1. Ran a command with --xprofile=profile.json.
  2. Uploaded the profile via arc upload xprofile.json.
  3. Retried the PHID of the uploaded file with echo '{"names": ["Fxxx"]}' | arc call-conduit phid.lookup.
  4. Went to /xhprof/profile/PHID-FILE-xxxxxxxxxxxxxxxxxxxx and saw the profile.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12514

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Apr 23 2015, 9:46 AM
Reviewer
Blessed Reviewers
Differential Revision
D12514: Change XHProf output format
Parents
rPHUaaee4009e20d: Various linter fixes
Branches
Unknown
Tags
Unknown