Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: develop
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 18 lines (11 sloc) 0.636 kb

profr

profr provides an alternative data structure and display for profiling data. It still uses Rprof() to collect the data, but outputs a data.frame which should be easier to manipulate. It also implements a novel visualisation which allows you to see the time taken by each function, as well as the context in which it was called.

To get started, try:

install.packages("profr")
library(profr)
p <- profr(my.slow.function())
plot(p)

Two built in examples are:

plot(nesting_prof)
plot(reshape_prof)

(and the second has helped me to considerably speed up (5-20x) the development version of reshape)

Something went wrong with that request. Please try again.