Flame graphs are a popular way of representing profiling data. In this paper we propose a possible mathematical definition of flame graphs. In doing so, we gain some interesting algebraic properties almost for free, which in turn allow us to define some operations that can allow to perform an in-depth performance regression analysis. The typical documented use of a flame graph is via its graphical representation, whereby one scans the picture for the largest plateaux. Whilst this method is effective at finding the main sources of performance issues, it leaves quite a large amount of data potentially unused. By combining a mathematical precise definition of flame graphs with some statistical methods we show how to generalise this visual procedure and make the best of the full set of collected profiling data.
翻译:火焰图是反映特征分析数据的一种流行方式。 在本文中, 我们建议了可能的火焰图的数学定义。 在这样做的时候, 我们几乎可以免费获得一些有趣的代数属性, 这反过来又使我们能够定义一些可以进行深入性能回归分析的操作。 火焰图的典型文件使用方式是通过其图形表示法, 即一个人扫描最大的高原的图片。 虽然这种方法在寻找性能问题的主要来源方面是有效的, 但它留下了相当大数量的数据。 通过将火焰图的数学精确定义与一些统计方法结合起来, 我们展示了如何概括这一直观程序, 并使所收集的全部特征数据成为最佳数据 。