Lists Home |
Date Index |
- To: <email@example.com>
- Subject: RE: [xml-dev] Borland C++ and Expat - performance hit.
- From: "Stephen Graham" <firstname.lastname@example.org>
- Date: Tue, 30 Jul 2002 17:40:27 +1000
- Cc: "zhengyu" <email@example.com>
- Importance: Normal
- In-reply-to: <firstname.lastname@example.org>
I'm judging the performance subjectively - I haven't compiled any data on
it. I am just going by how long it takes for my application to load a fixed
format XML file.
I have used SAX with Java and have been very pleased with the performance.
It's almost as good if not equal to the equivalent code in C/C++.
As you've probably learned from you Java tests it is quite easy to use SAX.
It's just as easy in C++ so I suggest you give it a go, that way you'll be
able measure the performance in a way suitable for your project.
In addition I suggest that your decision on whether to use C or Java should
not be based on the minor performance differences between XML parsing with
SAX in Java or C.
Best of luck.
> -----Original Message-----
> From: zhengyu [mailto:email@example.com]
> Sent: Tuesday, 30 July 2002 17:13
> To: Stephen Graham
> Subject: Re: [xml-dev] Borland C++ and Expat - performance hit.
> Just wondering if you have any performance data on C++ parser,
> as well as your system performance. Also do you compare C++ with
> Java, and do you have any explanation on the differences?
> I have done some test on Java recently, with the intention to choose
> C and Java for my next project. Your response would be extremely helpful.
> Jimmy Zhang
> ----- Original Message -----
> From: "Stephen Graham" <firstname.lastname@example.org>
> To: <email@example.com>
> Sent: Monday, July 29, 2002 9:04 PM
> Subject: [xml-dev] Borland C++ and Expat - performance hit.
> > Hello,
> > I've been testing an application that uses EXPAT on a clean install of
> > Windows XP. It was working perfectly well, and EXPAT in particular was
> > extremely fast. After I loaded Borland C++ Builder 5 onto the system the
> > performance of EXPAT was greatly reduced.
> > I've now un-installed C++ Builder, but the performance of EXPAT has not
> > returned to what it originally was.
> > I think it's fairly obvious that C++ Builder has replaced a
> system library
> > module with a debug version or something like that.
> > Before I start digging to find out which libraries are involved
> I though I
> > would ask in this list whether anybody has already figured this out.
> > Has anybody tackled this problem?
> > Regards
> > Stephen Graham.
> > -----------------------------------------------------------------
> > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> > initiative of OASIS <http://www.oasis-open.org>
> > The list archives are at http://lists.xml.org/archives/xml-dev/
> > To subscribe or unsubscribe from this list use the subscription
> > manager: <http://lists.xml.org/ob/adm.pl>