Skip to content

Conversation

@vchuravy
Copy link
Member

No description provided.

src/PProf.jl Outdated

function pprof(io, data::Union{Nothing, Vector{UInt}} = nothing)
prof = __pprof(data; kwargs...)
ProtoBuf.encode(ProtoBuf.ProtoEncoder(io), prof)
Copy link
Member Author

Choose a reason for hiding this comment

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

@NHDaly one question if we should leave compression up to the user, or if we should handle it here.

For the user it is a fair bit annoying to handle JuliaPerf/ProfileEndpoints.jl#51

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