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

chore: adds ability to render profile in dot format #2808

Merged
merged 7 commits into from
Dec 6, 2023

Conversation

petethepig
Copy link
Member

No description provided.

@petethepig petethepig requested a review from a team as a code owner December 6, 2023 01:51
Rperry2174
Rperry2174 previously approved these changes Dec 6, 2023
Copy link
Contributor

@Rperry2174 Rperry2174 left a comment

Choose a reason for hiding this comment

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

lpgtm

@kolesnikovae
Copy link
Collaborator

Please do not merge it – I'm working on it

Comment on lines +151 to +154
// We probably should distinguish max nodes of the source pprof
// profile and max nodes value for the output profile in dot format.
sourceProfileMaxNodes := int64(512)
dotProfileMaxNodes := int64(100)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is quite important: the less nodes we include into the source, the higher level function will appear in the analysis

@kolesnikovae kolesnikovae marked this pull request as ready for review December 6, 2023 08:23
Copy link
Collaborator

@kolesnikovae kolesnikovae left a comment

Choose a reason for hiding this comment

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

LGTM

@kolesnikovae kolesnikovae merged commit 4ddcd54 into main Dec 6, 2023
19 checks passed
@kolesnikovae kolesnikovae deleted the feat/profile-dot-format branch December 6, 2023 08:26
@aleks-p aleks-p mentioned this pull request Apr 10, 2024
3 tasks
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.

4 participants