performanceprofilingflamegraph

Construct flamegraph with start and end timestamps


i am collecting profile with custom instrumentation of each function and the format is simple. Each line in the profile dump has the following data:

symbol address, start time, end time

Is it possible to convert this to a format consumable by flamegraph charting tool? What are the formats consumed by a framegraph charting tool?


Solution

  • a) No, because flamegraphs need call stacks, and b) flamegraphs are pretty but useless for finding speedups. Speed problems easily hide in them, and they usually ignore I/O. Also here.