Skip to content
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

Add ui_relative_percentages=true which controls -relative_percentages in pprof. #22

Merged
merged 2 commits into from
Apr 19, 2020

Conversation

NHDaly
Copy link
Member

@NHDaly NHDaly commented Apr 19, 2020

By default, this now causes ignore/hide events through the Web UI to
recompute percentages.

This allows you to filter out parts of the program that aren't relevant
to what you're measuring, such as __psynch_cvwait in a single-threaded
program.

However, sometimes users may simply be using ignore/hide to get a
"cleaner" view of their data, but very much don't want filtering the
view to affect the underlying data. In that case, users can disable
this feature via ui_relative_percentages=false


I called the flag ui_relative_percentages instead of relative_percentages, because it is only meaningful if opening the web ui, not when just generating a .pb.gz dump.

Addresses step 1 of #19.

…ges` in pprof.

By default, this now causes `ignore`/`hide` events through the Web UI to
recompute percentages.

This allows you to filter out parts of the program that aren't relevant
to what you're measuring, such as `__psynch_cvwait` in a single-threaded
program.

However, sometimes users may simply be using `ignore`/`hide` to get a
"cleaner" view of their data, but very much _don't_ want filtering the
_view_ to affect the underlying data. In that case, users can disable
this feature via `ui_relative_percentages=false`
Project.toml Show resolved Hide resolved
@NHDaly NHDaly merged commit b44eb82 into master Apr 19, 2020
@NHDaly NHDaly deleted the nhd-relative-percentages branch April 19, 2020 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants