performance analysis program interface(or skills in the era) for pprof

43 views
Skip to first unread message

Qingwei Li

unread,
Apr 2, 2026, 11:05:39 PM (2 days ago) Apr 2
to golang-nuts
Recently I have to see many benchmarks to get insights about my optimization. But I find that simply looking through cpu profiles again and again are boring. There are so many benchmarks and it takes much time for me to know which benchmarks my optimization may apply to.

For me, there is requirement to use query to know the percentage of malloc/other functions in whole benchmark/certain functions to determine whether my optimization can apply to the benchmark, in other words, the feature of benchmark.

So I developed Lslightly/pprof2csv: translate Go pprof profile to csv tool, a basic tool, to query flat/cum time of certain line based on cpu profile generated by "go test -cpuprofile".

Are there other tools that can cover my request?
Do you also need to do some complex query in cpu/mem profile? What's your requirement?

CUDA support export SQLite database. For Java, there is JDK Flight Recorder. What for Go?
Reply all
Reply to author
Forward
0 new messages