[R] [R-pkgs] New package: profr 0.1 - an alternative display for profiling information

hadley wickham h.wickham at gmail.com
Fri May 2 20:57:33 CEST 2008


profr 0.1 ----------------------------

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 length of each call,
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)

Regards,

Hadley

PS.  If you'd like to contribute to the development of profr, the
source code is available from http://github.com/hadley/profr.

-- 
http://had.co.nz/

_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages



More information about the R-help mailing list