Export Flamegraph • AI Agents Framework
export_flamegraph: Export flamegraph to SVG file.
export_flamegraph
Method
</div>
This is a method of the Profiler class in the profiler module.
Export flamegraph to SVG file.
Note: Requires flamegraph data. For full flamegraph support, use py-spy: py-spy record -o profile.svg — python script.py
Signature
def export_flamegraph(filepath: str) -> NoneParameters
ParamField
strNo description available.
Uses
cls.get_flamegraph_dataf.write
Source
View on GitHubpraisonai/profiler.py at line 717