Skip to content

Commit

Permalink
compress the flamegraph record with lz4 (#3459)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorfour authored Jul 17, 2023
1 parent 34e31ee commit aa604de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/query/flamegraph_arrow.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func GenerateFlamegraphArrow(ctx context.Context, tracer trace.Tracer, p *profil
w := ipc.NewWriter(&buf,
ipc.WithSchema(record.Schema()),
ipc.WithAllocator(mem),
ipc.WithLZ4(),
)

if err = w.Write(record); err != nil {
Expand Down

0 comments on commit aa604de

Please sign in to comment.