inferno icon indicating copy to clipboard operation
inferno copied to clipboard

Differential output only calculates diff correctly for leaves (most specific frames)

Open itamarst opened this issue 1 year ago • 4 comments

Consider a diff of these two (cargo run --bin inferno-diff-folded old1.prof new2.prof | cargo run --bin inferno-flamegraph -- - > out.svg):

parent;first_child 10
parent;second_child 10
parent2 30

and

parent;first_child 30
parent;second_child 30
parent2 30

The resulting flamegraph shows parent as unchanged, even though it's actually gotten larger: Screenshot from 2023-05-31 14-45-11

itamarst avatar May 31 '23 18:05 itamarst