plot.proftools_profData {proftools}R Documentation

Plot Profile Data

Description

Plot method for objects of class "proftools_profData".

Usage

## S3 method for class 'proftools_profData'
plot(x, type = c("call", "tree", "flame", "time"),
                                  ...)

Arguments

x

an object of class "proftools_profData".

type

the type of plot to be drawn; default is a call graph.

...

additional arguments for specific plot types.

Details

Depending on the type argument the profile data plot method calls link{plotProfileCallGraph}, calleeTreeMap, or flameGraph with order = "hot" or orter = "time".

See Also

plotProfileCallGraph, calleeTreeMap, flameGraph

Examples

pd <- readProfileData(system.file("samples", "glmEx.out", package="proftools"))
plot(pd)
plot(pd, style = plain.style)
plot(pd, type = "call")
plot(pd, type = "flame")

[Package proftools version 0.99-3 Index]