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

pkg/convert: bump github.com/pyroscope-io/jfr-parser from v0.6.0 to … #1897

Closed
wants to merge 1 commit into from
Closed

Conversation

zdyj3170101136
Copy link
Contributor

…github.com/zdyj3170101136/jfr-parser v0.0.0-20230801105541-d66951dc9605

Why?

package github.com/pyroscope-io/jfr-parser malloc too much of memory
截屏2023-08-01 下午7 47 30

What?

i reduce 99% percent of memory allocate and 67 % cpu cost in read jfr file:
grafana/jfr-parser#22

How?

1, do not store data as interface, let memory not leak.
2, stream read event, those cache common event type.

…ithub.com/zdyj3170101136/jfr-parser v0.0.0-20230801105541-d66951dc9605
@zdyj3170101136 zdyj3170101136 requested a review from a team as a code owner August 1, 2023 11:53
@brancz
Copy link
Member

brancz commented Aug 1, 2023

Very nice! Let's wait for the upstream PR to be merged, otherwise lgtm.

@zdyj3170101136 zdyj3170101136 deleted the bump/jfr branch August 11, 2023 06:36
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