3 ms·
What’s your preferred way of visualising performance?
by benpoulson 1y ago
What’s your preferred way of visualising performance?
- saagarjha 1y agoDepends 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.
- badsectoracula 1y agoFlamegraphs 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). [0] https://lukestackwalker.sourceforge.net/ https://lukestackwalker.sourceforge.net/ [1] http://runtimeterror.com/tools/fpwprof/index.html http://runtimeterror.com/tools/fpwprof/index.html