From: Mike Nordell (tamlin@algonet.se)
Date: Fri Jul 19 2002 - 04:23:59 EDT
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? :-) ).
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!
I think the design- (or maybe just implementation-) error is at a much
higher abstraction level, since this definitely isn't the first time we've
been fighing performance problems while loading. It has AFAIK also (almost)
always been been exhibited in this way.
/Mike - please only followup to the list
This archive was generated by hypermail 2.1.4 : Fri Jul 19 2002 - 04:41:40 EDT