Re: [xml] Performance patches for 2.4.22



On Tue, May 28, 2002 at 10:08:37PM +0200, Peter Jacobi wrote:
Content-Description: Mail message body
Hi Daniel, All,

  Hi Peter,

They give up to 20% performance increase in cases I'm 
interested in, on a moderately slow system (PII-350),
somewhat less on a P3-1000 and -I hope- somewhat
more on the 100MHz PC104 boards.

  Applied without troubles, it passed the regression tests, so this looks fine.

Benchmarks done using statically linked xmllint, all options disabled.

api.xml [500k] : the libxml-api.xml file from 2.4.22

  Without the patch, Red Hat 7.3 gcc -g -O2, Duron 1200 no memory debug, best of 4 runs:

paphio:~/tmp/XML -> xmllint --timing --repeat --noout ~/XML/doc/libxml2-api.xml 100 iterations took 9626 ms

paphio:~/tmp/XML -> xmllint --timing --repeat --noout ~/XSLT/tests/XSLTMark/db1000.xml 
100 iterations took 4262 ms

  With the patch:

paphio:~/XML -> xmllint --timing --repeat --noout ~/XML/doc/libxml2-api.xml 
100 iterations took 8994 ms

paphio:~/XML -> xmllint --timing --repeat --noout ~/XSLT/tests/XSLTMark/db1000.xml 
100 iterations took 3878 ms


approximately a 6% and 9% improvement on this platform and for those tests,

    thanks !

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]