pulumi/pkg/util/cmdutil
Pat Gavlin ded25b11db
Add support for CPU and heap profiling. (#1318)
These changes add a new flag to the CLI, `--profiling`, that enables
CPU and heap profiling as well as execution tracing of the CLI itself.
The argument to this flag serves as a prefix for the profile outputs;
the CPU and heap profiles and execution trace are written to
`[filename].[pid].{cpu,mem,trace}`, respectively.

These changes also fix an issue with `cmdutil.RunFunc` wherein any error
would prevent the command's post-run hooks from executing.
2018-05-04 11:26:53 -07:00
..
args.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
child.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
child_windows.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
console.go Only show emojis on macOS 2018-04-26 18:28:07 -07:00
console_password.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
console_password_windows.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
diag.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
exit.go Add support for CPU and heap profiling. (#1318) 2018-05-04 11:26:53 -07:00
log.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
log_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
profile.go Add support for CPU and heap profiling. (#1318) 2018-05-04 11:26:53 -07:00
spinner.go Switch to a resource-progress oriented view for pulumi preview/update/destroy (#1116) 2018-04-10 12:03:11 -07:00
trace.go Initial work on tracing support (#521) 2017-11-08 17:08:51 -08:00