Re:Doom GPU Flame Graphs
by saagarjha on Friday May 02, 2025 @10:54PM
(#43876520)
Considering that I hate flamegraphs probably not
[ Parent
| on HN ]
Re:Doom GPU Flame Graphs
by benpoulson on Saturday May 03, 2025 @05:33AM
(#43877893)
What’s your preferred way of visualising performance?
Depends but if it's samples I'd usually reach for a hierarchical outline view. If it's time series data then probably a bunch of tracks.
Re:Doom GPU Flame Graphs
by badsectoracula on Saturday May 03, 2025 @08:21AM
(#43878572)
Flamegraphs are neat but the call graph in Luke Stackwalker[0] was more immediately obvious to me (especially since it draws a thick red line for the hottest path) than them.
Another approach is one i used for a profiler i wrote some time ago (and want to port to Linux at some point)[1] which displays the hottest "traces" (i.e. callstacks). One neat aspect of this is that you can merge multiple traces using a single function as the "head" (so, e.g., if there are two separate traces that contain a function "Foo" somewhere, you can select to use "Foo" as the starting point and they'll be treated as the same trace with their hitcounts combined).