|
|
|
|
|
by wging
3820 days ago
|
|
It's a flame graph or flame chart. I found this video explaining how to use them: https://www.youtube.com/watch?v=g0g4ML4nhPg I think the basic idea is: say you have some code like this. function a() { // 6 ms
b(); // 3 ms
c(); // 3 ms
}
Then you might have a flame chart that looks like this: [-b-][-c] [---a---] Essentially you're decomposing the time we spend in a() into its constituent pieces b() and c(). |
|
flame graphs: x-axis is sample population (or event time), alphabetical sort on function names to maximize merging
flame charts: x-axis is the passage of time