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

Make profiler use form-data as stream #1652

Merged
merged 1 commit into from Oct 14, 2021
Merged

Conversation

Qard
Copy link
Collaborator

@Qard Qard commented Oct 13, 2021

This should improve export performance. Turns out concatenating larger buffers is more expensive than streamed writes.

@Qard Qard added the profiling label Oct 13, 2021
@Qard Qard requested a review from a team as a code owner October 13, 2021 15:23
@rochdev
Copy link
Member

rochdev commented Oct 14, 2021

Is there a benchmark where we can see the improvement?

@Qard Qard merged commit 0aa966d into master Oct 14, 2021
@Qard Qard deleted the profiler-export-streaming branch October 14, 2021 22:25
@Qard
Copy link
Collaborator Author

Qard commented Oct 14, 2021

Not handy, no. I discovered it in a bunch of testing of native pprof encoding, but it's mixed with a bunch of other data.

rochdev pushed a commit that referenced this pull request Nov 2, 2021
rochdev pushed a commit that referenced this pull request Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants