From: Joaquín Cuenca Abela (firstname.lastname@example.org)
Date: Fri Jul 19 2002 - 14:00:59 EDT
On Fri, 2002-07-19 at 10:23, Mike Nordell wrote:
> Joaquín Cuenca Abela wrote:
> > Loading a 205 pages document takes ~2 minutes. That sucks.
> > Here's what gprof has to say:
> Calling PP_evalProperty close to six-and-a-half-million times could have
> something to do with it (understatement of the year? :-) ).
Oh, this one is not the most called. I have some functions called more
than 90000000 times
> Also, I fail to see the reason of calling fp_Run::updateHighlightColor over
> two and a half million times just to load such a document. It's not like
> you'd be able to cram that many runs into a 205 page document. That would be
> something like 13052 runs/page!
Yup. I'm getting a mean of 3 runs by line (which looks reasonable), but
fp_Line::updateBackgroundColor is called 662765 times (when it's
impossible to have more than 10000 lines with Times 12pt in 205 pages).
So it seems that we're having an inflate number of fp_Lines...
I'll keep investigating
-- Joaquín Cuenca Abela email@example.com
This archive was generated by hypermail 2.1.4 : Fri Jul 19 2002 - 14:06:28 EDT