JuliaPerf / PProf.jl

Export Julia profiles to the pprof format
MIT License
154 stars 17 forks source link

Split package in two, to separate building profile protos from visualizing profiles #72

Open NHDaly opened 1 year ago

NHDaly commented 1 year ago

Problem

Proposal

Some users don't actually need pprof_jll as a dependency (for example, at RAI). The parts of PProf.jl that we do need, are the parts that convert a profile into the pprof protobuf format. The pprof_jll is there for users to be able to visualize the profiles. We only use PProf for generating protos, as part of https://github.com/JuliaPerf/PerformanceProfilingHttpEndpoints.jl.

What this suggests to me is that probably we should split the PProf package in two (in the same repo):

Then RAI could depend only on the latter, and thus we wouldn't depend on graphviz_jll.

NHDaly commented 1 year ago

@quinnj for triage :)