Homec4science

Add builtin CLI profiling to every PhutilArgumentParser script

Authored by epriestley <git@epriestley.com> on Mar 8 2012, 21:19.

Description

Add builtin CLI profiling to every PhutilArgumentParser script

Summary: Add support for an "--xprofile" arg as part of the standard arg bundle.

Test Plan:
Ran utf8.php --xprofile derp.xhprof; then arc upload derp.xhprof and then viewed the profile via the web UI.

(Those last two steps could be a little easier.)

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

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

Details

Committed
epriestley <git@epriestley.com>Mar 8 2012, 21:19
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUac56573890ec: Build static xhpast
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUcff028a25e52: Add builtin CLI profiling to every PhutilArgumentParser script (authored by epriestley <git@epriestley.com>).Mar 8 2012, 21:19