plot.proftools_profData: Plot Profile Data

Description Usage Arguments Details See Also Examples

View source: R/plot.R

Description

Plot method for objects of class "proftools_profData".

Usage

1
2
3
## 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

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

proftools documentation built on July 8, 2020, 5:20 p.m.