Re: [xml] Benchmark...

On Wed, Feb 11, 2004 at 08:20:54AM +0100, Fabrice Desré FTR&D/DTL/TAL wrote:
Of course benchmarks are only lies, but this one is not that bad :

libxml/libxslt performs very well, and one thing to note is that libxml 
2.6 seems to be slower than libxml 2.4.

  So far, I can't reproduce this with just xmllint, I will have to
look more closely at their code and data to see if it exhibit some
funky behaviour. This may be due to the fact that they use the interfaces
based on SAX v1 instead on SAX v2 with 2.6, getting the most out of 
the new code requires to change the API used slighly, I need to write
docs about this.

server:~/libxml2-2.4.30 ->  ls -l ../XML/db10000.xml
-rw-r--r--    1 veillard vcsa      2009238 Oct  6 18:06 ../XML/db10000.xml
server:~/libxml2-2.4.30 -> ./xmllint --noout --timing ../XML/db10000.xml
Parsing took 536 ms
Freeing took 161 ms
server:~/libxml2-2.4.30 -> ./xmllint --noout --memory --timing ../XML/db10000.xml
Parsing took 537 ms
Freeing took 166 ms
server:~/libxml2-2.4.30 ->
 same box latest version compiled the same way:
erver:~/libxml2-2.6.5 -> ls -l ../XML/db10000.xml
-rw-r--r--    1 veillard vcsa      2009238 Oct  6 18:06 ../XML/db10000.xml
server:~/libxml2-2.6.5 -> ./xmllint --noout --timing ../XML/db10000.xml
Parsing took 432 ms
Freeing took 143 ms
server:~/libxml2-2.6.5 -> ./xmllint --noout --memory --timing ../XML/db10000.xml                              
Parsing took 431 ms
Freeing took 144 ms
server:~/libxml2-2.6.5 ->

  Further examination needed :-)


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]