-
Notifications
You must be signed in to change notification settings - Fork 196
Added cf-profile.py script for processing profiling output #5915
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
Conversation
|
Nice. Times could be human readable (N seconds, minutes). maybe it would be nice to be able to exclude , but probably that's scope creep for no good reason since you can just --top MORE. |
|
@victormlg nice, some things to improve, mainly based on your example output;
|
d9ae7b8 to
d0315db
Compare
d0315db to
8e45dd6
Compare
16f8793 to
652623e
Compare
|
Marking this PR as stale due to inactivity; it will be closed in 7 days. |
652623e to
ba58df2
Compare
ba58df2 to
b9f6adf
Compare
|
With a recent build from master I get JSON decode error: Seems to error on the last event before policy: |
b9f6adf to
3d5dede
Compare
larsewi
left a comment
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.
LGTM 🚀
Changelog: Title Signed-off-by: Victor Moene <victor.moene@northern.tech>
Signed-off-by: Victor Moene <victor.moene@northern.tech>
3d5dede to
c0e36cd
Compare
|
@cf-bottom jenkins, please |
|
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/13231/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13231/ |
sudo /var/cfengine/bin/cf-agent -Kp | python3 contrib/cf-profile/cf-profile.py --promises --functions --top 5output: