parse_rprof {profr} | R Documentation |
Parses the output of Rprof
into an alternative format described in profr
.
parse_rprof(path, interval=0.02)
path |
|
interval |
This produces a flat data frame, which is somewhat easier to summarise and visualise.
data.frame
of class profr
Hadley Wickham <h.wickham@gmail.com>
profr
for profiling and parsing
nesting <- parse_rprof(system.file("samples", "nesting.rprof", package="profr")) diamonds <- parse_rprof(system.file("samples", "reshape.rprof", package="profr"))