Skip to main content

export_flamegraph

Method
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) -> None

Parameters

filepath
str
required
No description available.