Homec4science

Change XHProf output format

Authored by Joshua Spence <josh@joshuaspence.com> on Apr 23 2015, 02:21.

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

Committed
Joshua Spence <josh@joshuaspence.com>Apr 23 2015, 11:46
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUaaee4009e20d: Various linter fixes
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHU20d43107280d: Change XHProf output format (authored by Joshua Spence <josh@joshuaspence.com>).Apr 23 2015, 11:46