This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XML parsers performance
- From: Daniel Veillard <daniel at veillard dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 22 Mar 2002 13:13:21 +0100
- Subject: Re: [xsl] XML parsers performance
- References: <A35076F7A9C6F8428FE93EBB81B005DE52D229@Gspsvr.gsp.elsag.it>
- Reply-to: xsl-list at lists dot mulberrytech dot com
On Thu, Mar 21, 2002 at 06:00:16PM +0100, Bovone Stefano wrote:
> Hello everybody.
>
> I'm dealing with XML parsers performance. In your experience what is the
> speeder parser ?
> Do I have to choose a C++ or a Java parser ?
>
> (I have to work with very big XML file and using mainly SAX)
Then it seems it is off topic for this list
Latest experiemnt on a duron 1.2GHz wityh libxml2 SAX parser on
a 20MBytes file is that it get processed at 16 MBytes/s
paphio:~/XML -> time ./testSAX --quiet db100000.xml
3200006 callbacks generated
real 0m1.285s user 0m1.170s sys 0m0.100s
paphio:~/XML -> ls -l db100000.xml
-rw-rw-r-- 1 veillard www 20182040 Mar 20 10:30 db100000.xml
paphio:~/XML ->
the input file was generated using the perl script from XSLTMark
Note that the SAX interface used is based on James Clark expat one.
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list