为每个请求生成一个flamegraph日志的金字塔tween
pyramid_flamegraph的Python项目详细描述
这个包提供了一个金字塔型的tween来为每个请求生成一个flamegraph图像。
基于pyramid_pycallgraph implemented by Andreas Kaiser开发 以及djdt-flamegraph implemented by Bo Lopker。
安装
$ pip install --upgrade git+https://gitlab.com/hhatto/pyramid_flamegraph
用法
pyramid.includes = pyramid_flamegraph
配置
flamegraph.interval = 0.005 # default: 0.001 flamegraph.color = aqua # default: hot