[2/2] Add differential flamegraph script by ddelnano · Pull Request #2044 · pixie-io/pixie

ddelnano

ddelnano added a commit that referenced this pull request

Nov 12, 2024
…ameGraph` display spec (#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see #2044)


![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
(cherry picked from commit 12881672c021e47a9090df3335c29f6048e99df3)
…y once it's possible

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
…g issues

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>

ddelnano

@ddelnano ddelnano marked this pull request as ready for review

November 12, 2024 22:53

aimichelle

@ddelnano ddelnano deleted the ddelnano/add-diff-flamegraph-script branch

November 13, 2024 22:24

ddelnano added a commit to ddelnano/pixie that referenced this pull request

Aug 6, 2025
…ameGraph` display spec (pixie-io#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io#2044)

![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

GitOrigin-RevId: 4778ba1

ddelnano added a commit to ddelnano/pixie that referenced this pull request

Aug 6, 2025

ddelnano added a commit to csmc-io/pixie that referenced this pull request

Jan 8, 2026
…ameGraph` display spec (#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io/pixie#2044)

![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

GitOrigin-RevId: 4778ba1

ddelnano added a commit to csmc-io/pixie that referenced this pull request

Jan 8, 2026
…ameGraph` display spec (#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io/pixie#2044)

![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

GitOrigin-RevId: 4778ba1

ddelnano added a commit to csmc-io/pixie that referenced this pull request

Jan 8, 2026
…ameGraph` display spec (#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io/pixie#2044)

![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

GitOrigin-RevId: 4778ba1

ddelnano added a commit to csmc-io/pixie that referenced this pull request

Jan 16, 2026
…ameGraph` display spec (#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io/pixie#2044)

![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

GitOrigin-RevId: 4778ba1

ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request

Feb 25, 2026
…ameGraph` display spec (pixie-io#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io#2044)


![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request

Feb 25, 2026

ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request

Feb 25, 2026
…ameGraph` display spec (pixie-io#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io#2044)


![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request

Feb 25, 2026

k8sstormcenter-buildbot pushed a commit to k8sstormcenter/pixie that referenced this pull request

Feb 26, 2026
…ameGraph` display spec (pixie-io#2043)

Summary: Support rendering differential flamegraphs in the
`StackTraceFlameGraph` display spec

This change makes it possible to render a [differential
flamegraphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html).
These are useful for comparing flamegraph profiles against each other in
order to see what code paths are called more or less than the baseline
profile. When a Vis spec specifies a `differenceColumn`, the widget will
render this differential flamegraph. The difference column computes the
sample delta between the baseline profile and the new profile.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: New unit tests pass and pxl script relying on this works as
expected (see pixie-io#2044)

![differential](https://github.com/user-attachments/assets/3f86ee2d-c0a1-402b-9455-b1e22b522fe1)

Changelog Message: Add support for rendering differential flamegraphs in
the `StackTraceFlameGraph` display spec

GitOrigin-RevId: 4778ba1