FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

pkg/query: Introduce value-offset by brancz · Pull Request #5651 · parca-dev/parca · GitHub

pkg/query: Introduce value-offset - #5651

Merged
brancz merged 1 commit into
mainfrom
value-offset-backend
May 30, 2025
Merged

pkg/query: Introduce value-offset#5651
brancz merged 1 commit into
mainfrom
value-offset-backend

Conversation

brancz commented May 30, 2025

Copy link
Copy Markdown
Member

Value offset allows each frame to be rendered in parallel by the frontend instead of recursively. Value offset determines the X offset, the depth of the frame the Y offset, and the cumulative the width.

This is the last piece missing that will allow the frontend to do this.

Value offset allows each frame to be rendered in parallel by the
frontend instead of recursively. Value offset determines the X offset,
the depth of the frame the Y offset, and the cumulative the width.

This is the last piece missing that will allow the frontend to do this.

alwaysmeticulous Bot commented May 30, 2025
edited
Loading

Copy link
Copy Markdown

✅ Meticulous spotted 0 visual differences across 426 screens tested: view results.

Meticulous evaluated ~4 hours of user flows against your PR.

Expected differences? Click here. Last updated for commit a4033a6. This comment will update as new commits are pushed.

parent: row,
valueOffset: valueOffset,
})
valueOffset += fb.builderCumulative.Value(cr)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Ok. So the valueOffset is the offset from the other children relative to the parent's cumulative value, right?
I just wanted to verify that we're not passing the pixel from the frontend and performing some x-y axis math in the backend.
This makes sense to me.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

correct it's the value relative to the total, the frontend can then use that to calculate the position based on the available pixel space

brancz merged commit 566ad78 into main May 30, 2025
brancz deleted the value-offset-backend branch May 30, 2025 14:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL