I’m trying to compare the efficiency of two binaries before and after applying Profile-Guided Optimization . For this, I’m using Go’s profiling, specifically the flame graph. However, I’m getting two almost identical stacks; the only difference is that some functions are inlined. It seems that pprof doesn’t recognize that these functions are part of the same execution path. I need to understand the percentage of improvement I’m getting when compiling with PGO.
My question is: Is there a way to indicate to pprof that these two paths are part of the same execution? Or, is there a way to measure the improvement obtained with PGO?"