parse_rprof {profr}R Documentation

Parse Rprof output

Description

Parses the output of Rprof into an alternative format described in profr.

Usage

parse_rprof(path, interval=0.02)

Arguments

path
interval

Details

This produces a flat data frame, which is somewhat easier to summarise and visualise.

Value

data.frame of class profr

Author(s)

Hadley Wickham <h.wickham@gmail.com>

See Also

profr for profiling and parsing

Examples

nesting <- parse_rprof(system.file("samples", "nesting.rprof", package="profr"))
diamonds <- parse_rprof(system.file("samples", "reshape.rprof", package="profr"))

[Package profr version 0.1.1 Index]