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

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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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