[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Borland C++ and Expat - performance hit.

  • To: <xml-dev@l...>
  • Subject: RE: Borland C++ and Expat - performance hit.
  • From: "Stephen Graham" <sg3@b...>
  • Date: Tue, 30 Jul 2002 17:40:27 +1000
  • Cc: "zhengyu" <zhengyu@a...>
  • Importance: Normal
  • In-reply-to: <006e01c23798$98729d00$483aea0c@a...>

expat performance
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.

Regards
Stephen.

> -----Original Message-----
> From: zhengyu [mailto:zhengyu@a...]
> Sent: Tuesday, 30 July 2002 17:13
> To: Stephen Graham
> Subject: Re:  Borland C++ and Expat - performance hit.
>
>
> Hello,
>
>  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
> between
> C and Java for my next project. Your response would be extremely helpful.
>
>
> Thanks,
> Jimmy Zhang
>
> ----- Original Message -----
> From: "Stephen Graham" <sg3@b...>
> To: <xml-dev@l...>
> Sent: Monday, July 29, 2002 9:04 PM
> Subject:  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>
> >
>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.