Re: [xml] htmlParseFile vs htmlParseDoc



On Wed, Oct 15, 2003 at 03:35:27PM -0700, Jerome Pesenti wrote:
There seems to be a big performance hit (x4 to x10)
when using htmlParseDoc instead of htmlParseFile on
big files.

Interestingly, in 2.5.8 there was the same kind of 
problem when parsing XML, but it seems to be fixed in
2.5.11.

Any idea what's going on?

  Hum, I think it was about some buffer copies as the 
input was consumed when the buffer was initialized with a very
large input. Can you still see this with the CVS version ?

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]