Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Mon, 25 Jan 1999 13:17:17 -0600 (CST)
* List: htdig3-dev@sob.htdig.org
According to Didier Gautheron:
> Alexander Bergolth wrote:
> > Btw. I noticed a significant speed decrease of the current CVS version in
> > comparison to the CVS-tree from Dec 27th.
> >
> > The last initial dig on Jan 15th completed in 3:45 hours with a
> > max_doc_size of 1MB, the current Version took 4:51 hours to complete with a
> > max_doc_size of 512k.
> >
> > I tried both versions several times and the run-time didn't vary more than
> > 10 minutes. There are currently no known or noticable network problems. (We
> > even changed the ATM interface yesterday.)
> >
> > Does anyone have similar experiences?
> The problen is in HTML::parse the skip_start stuff have to be declare
> static and move out of the loop.
> Didier
I've noticed a few changes recently where config attribute lookups
are buried deep in loops. I can understand the desire to keep changes
localised, but that must be balanced against a desire to keep performance
good. Any config lookups should be considered expensive (take a look
at what Configuration::Find() does!), and moved out of loops to static
variables, as Didier suggested.
-- Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 ------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Thu Feb 04 1999 - 22:24:20 PST