parse_rprof {profr} | R Documentation |
Parse Rprof output.
Description
Parses the output of Rprof
into an alternative format
described in profr
. This produces a flat data frame, which is
somewhat easier to summarise and visualise.
Usage
parse_rprof(path, interval = 0.02)
Arguments
path |
path to |
interval |
real-time interval between samples (in seconds) |
Value
data.frame
of class profr
See Also
profr
for profiling and parsing
Examples
nesting_ex <- system.file("samples", "nesting.rprof", package="profr")
nesting <- parse_rprof(nesting_ex)
reshape_ex <- system.file("samples", "reshape.rprof", package="profr")
diamonds <- parse_rprof(reshape_ex)
[Package profr version 0.3.3 Index]