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

Retain inverted-ness when redrawing graph. #656

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

ZeroIntensity
Copy link
Contributor

Closes #655.

Describe your changes
When the flamegraph is redrawn, keep the inversion from the previous graph, if it exists.

Testing performed
I opened a flamegraph and made sure that it worked :)

@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.07%. Comparing base (41248ed) to head (e0bdf68).
Report is 111 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #656      +/-   ##
==========================================
+ Coverage   92.55%   93.07%   +0.52%     
==========================================
  Files          91       94       +3     
  Lines       11304    11420     +116     
  Branches     1581     2094     +513     
==========================================
+ Hits        10462    10629     +167     
+ Misses        837      791      -46     
+ Partials        5        0       -5     
Flag Coverage Δ
cpp 93.07% <ø> (+7.13%) ⬆️
python_and_cython 93.07% <ø> (-2.65%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Previously clicking the "Hide Irrelevant Frames" or "Hide Import System
Frames" checkboxes would switch the flame graph back to icicle mode.
Ensure we retain flame mode when the user has chosen it.
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fix @ZeroIntensity!

@godlygeek godlygeek enabled auto-merge (rebase) August 2, 2024 18:55
@godlygeek godlygeek merged commit 260b8d5 into bloomberg:main Aug 2, 2024
17 of 18 checks passed
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.

Changing the flamegraph filter switches to icicles
3 participants