proftable: An alternative to 'summaryRprof()'

Description Usage Arguments Details

View source: R/proftable.R

Description

proftools parses a profiling file and prints an easy-to-understand table showing the most time-intensive function calls.

Usage

1

Arguments

file

A profiling file generated by Rprof()

lines

The number of lines (call stacks) you want returned. Lines are printed from most time-intensive to least.

Details

Line numbers are included if Rprof() was run with line.numbering=TRUE. If it was run with memory.profiling=TRUE, this function will probably break.

Below the table are printed any files identified if line numbering is true, the total time recorded by Rprof(), and the "parent call". The parent call consists of the parent call stack of all the call stacks in the\ table. Note that this is the parent call stack of only the printed lines, not of all stacks recorded by Rprof(). This makes the table easier to read and fit into the console.


noamross/noamtools documentation built on Aug. 18, 2019, 7:47 a.m.