FlameGraph shows the number of samples in specific backtrace. Since it is the "number" of samples, it is an integer. But it can be expanded to real number. So I suggest to support real number for samples data. For example, think about the data like followings,
FlameGraph
shows the number of samples in specific backtrace. Since it is the "number" of samples, it is an integer. But it can be expanded to real number. So I suggest to support real number for samples data. For example, think about the data like followings,Every number of samples in flamegraph output svg file is
0
with the data.I can see five decimal places of data if I change the code like followings.