sprof-package: sprof: Analysis of R profiles

Description Details Note Author(s) Examples

Description

Profiling, timing and optimisation utilities

Details

Package: sprof
Type: Package
Version: 0.1-0
License: GPL-2 | GPL-3

readRprof() reads a profile file from Rprof() or other profilers and returns a composite structure of class sprof. The basic components of sprof are (conceptually) four data frames

info general information and summaries
nodes node specific information
stacks node specific information. Stacks are random snapshots from
the program execution, possibly including side information such as traces
of the memory management.
profiles collected records of a profile, encoded as references to stacks

The data structure is subject to change. For more details, see the documentation of readRprof().

To create a profile on the fly, use sampleRprof.

To import profile information written by Rprof or other profilers, use readRprof.

For sprof, the usual access functions are supported.

Note

Version 0.0-6 is a clean-up version. Recommendations/requests for the interface definition are requested at this point.

Author(s)

Günther Sawitzki <[email protected]>

Examples

1
2
3
4
5
6
## Not run: 
 data(sprof01lm)
 str(sprof01lm) 
 plot(sprof01lm) 
 
## End(Not run)

sprof documentation built on May 31, 2017, 1:56 a.m.