[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Borland C++ and Expat - performance hit.
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|