stopwatch {butler}R Documentation

Stop watch

Description

Profile the performance of function call.

Usage

stopwatch(f, reps = 2, interval = 0.02)

Arguments

f function to profile
reps number of times to run
interval interval between samples (in seconds)

Details

Results can be display nicely using either plot or print.

Value

call tree

Author(s)

Hadley Wickham <h.wickham@gmail.com>

See Also

print.call.tree, plot.call.tree

Examples






[Package butler version 0.3 Index]