-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(cmd/ndt7-client): support gathering profile info #60
Conversation
Useful to investigate m-lab#59.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few little things, then - thanks!
Reviewed 4 of 4 files at r1.
Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @bassosimone)
cmd/ndt7-client/main.go, line 41 at r1 (raw file):
// download. // // The `-cpuprofile` flag defines the file where to write a CPU profile
s/cpuprofile/profile/
cmd/ndt7-client/main.go, line 120 at r1 (raw file):
var ( flagProfile = flag.String("profile", "", "file where to store cpuprofile (see https://blog.golang.org/pprof)")
s/cpuprofile/pprof profile/
cmd/ndt7-client/main.go, line 284 at r1 (raw file):
flag.Parse() if *flagProfile != "" {
Could we add a warning that enabling the profiler may impact performance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applied the required changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 1 approvals obtained (waiting on @bassosimone)
Useful to investigate #59.
This change is