>>>> "Kyle" == Kyle Jones
<kyle_jones(a)wonderworks.com> writes:
Kyle> Raymond Toy writes:
> >>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)iskon.hr> writes:
>
>
Hrvoje> Type `M-x profile-key-sequence', then `n', and then
`M-x
Hrvoje> profile-results'. XEmacs should tell you where most of the time was
Hrvoje> spent.
>
> Thanks for that hint! I didn't even know such a thing existed.
>
> Anyway, with vm-flush-interval set to T, what happens is that more
> than half of the time is spent in running vm summary function. I
> wonder why that is.
Kyle> Which VM summary function?
Sorry, it was vm-run-user-summary-function, and the current run says
89% of the total time is spent here.
I do have two summary functions. vm-summary-function-L computes the
number of lines in the message via (count-lines-region), and
vm-summary-function-C computes the size of the message via (-
(point-max) (point-min)).
If I set vm-flush-interval to 90 (the default), profile-key-sequence
on "n" still says vm-run-user-summary-function still says 89%.
I think I need to some more testing to get this all straightened out.
Ray