Skip to content

Disable pools for locations, functions, and lines #2240

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

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

kolesnikovae
Copy link
Collaborator

Reusing tiny pprof protobuf objects is more expensive than allocating new: (*Profile).ReturnToVTPool consumes 23% of total CPU time. It makes sense to revisit the decision to use pools for pprof proto.

image

@kolesnikovae kolesnikovae requested review from a team as code owners August 11, 2023 07:18
Copy link
Collaborator

@korniltsev korniltsev left a comment

Choose a reason for hiding this comment

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

LGTM
is markdown change relevant to the pb gen?

@kolesnikovae kolesnikovae merged commit ae581f7 into next Aug 11, 2023
@kolesnikovae kolesnikovae deleted the fix/disable-protobuf-pooling branch August 11, 2023 08:41
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