Hrvoje Niksic wrote:
Uwe Brauer <oub(a)mat.ucm.es> writes:
>Here comes the profile protocol, I am not sure how to interpret it
>
>
If "in garbage collection" comes first, it means you need to bump
`gc-cons-threshold' to something reasonable. 2000000 is probably a
good start.
Then, don't forget that the profile* family of functions *accumulate*
profile results, meaning that the displayed summary doesn't contain
the latest profiling run, but a sum of all profiling runs. This can
be surprising if you spend some time testing the profiler and then
want to produce "real" data. In that case you need to use `M-x
clear-profiling-info'.
actually, it hasn't done this for awhile; i changed it a couple of years
ago to not accumulate by default, since it seemed to me that it is very
confusing and rarely what you want. currently, if you want to continue
a profile session and not reset it, you have to use a C-u prefix to
profile-*.
ben