[R] interpreting profiling output
Liaw, Andy
andy_liaw at merck.com
Wed Jul 28 00:17:10 CEST 2004
> From: Kasper Daniel Hansen
>
> On Tue, Jul 27, 2004 at 09:12:56AM +0200, Peter Dalgaard wrote:
> >
> > Hmm... You're using summaryRprof(), obviously. Do the
> results match up
> > with what you get from R CMD Rprof? Looking at the source for
> > summaryRprof, I see that it uses this construction
> >
> > selft <- sapply(ls(envir = self), function(f) get(f, envir =
> > self))
> >
> > which I suspect does not count function names that start
> with a dot...
>
> It does not. Runnig everything through R CMD Rprof gives a much moe
> sensible output. I have no further questions.
>
> Do I file a bug report on summaryRprof - it is certainly
> unintentional
> that it does not compute eg. .C calls when computing the self time?
I thought I did see .C in the output of summaryRprof() at one time...
Andy
> --
> Kasper Daniel Hansen, Research Assistant
> Department of Biostatistics, University of Copenhagen
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list