% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flame.R
\name{pv_flame}
\alias{pv_flame}
\title{Text-based flame graph}
\usage{
pv_flame(x, width = 70, min_pct = 2, max_depth = 15)
}
\arguments{
\item{x}{A profvis object.}

\item{width}{Width of the flame graph in characters.}

\item{min_pct}{Minimum percentage to show (filters small slices).}

\item{max_depth}{Maximum depth to display.}
}
\value{
Invisibly returns a \code{debrief_flame} object. Use
\code{capture.output()} to capture the formatted text output.
}
\description{
Generates an ASCII representation of a flame graph showing the hierarchical
breakdown of time spent in the call tree.
}
\examples{
p <- pv_example()
pv_flame(p)
}
