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

fix(flamegraph): Limit flamegraph height in profile summary tab #88638

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Apr 2, 2025

The list of profile references can cause the panel to grow. If there are too many, the canvas will grow to a size where it doesn't render correctly anymore. Limit the size of the list of profile references which will limit the size of the canvas.

When there are multiple roots, we need to make sure to deduplicate the
references otherwise the same reference can show up multiple times.
@Zylphrex Zylphrex requested a review from a team as a code owner April 2, 2025 21:45
@Zylphrex Zylphrex requested a review from a team April 2, 2025 21:46
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 2, 2025
@Zylphrex Zylphrex changed the title fix(flamegraph): Dedupe flamegraph profile references fix(flamegraph): Limit flamegraph height in profile summary tab Apr 2, 2025
@Zylphrex Zylphrex enabled auto-merge (squash) April 2, 2025 21:54
@Zylphrex Zylphrex merged commit e2ea9a8 into master Apr 2, 2025
43 checks passed
@Zylphrex Zylphrex deleted the txiao/fix/dedupe-flamegraph-profile-references branch April 2, 2025 22:00
adrian-codecov pushed a commit that referenced this pull request Apr 3, 2025
The list of profile references can cause the panel to grow. If there are
too many, the canvas will grow to a size where it doesn't render
correctly anymore. Limit the size of the list of profile references
which will limit the size of the canvas.
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
The list of profile references can cause the panel to grow. If there are
too many, the canvas will grow to a size where it doesn't render
correctly anymore. Limit the size of the list of profile references
which will limit the size of the canvas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants