Hi Boris, > > Do people have similar expierence with this? > > A number of optimizations have been done for Xerces-C++ 3-series so, > at least on our benchmarks (parsing without validation, parsing with > XML Schema validation, and serialization), it is at least 20-30% faster > than 2-series. Good to know :)
> > Are there maybe some options in 3.1.x or in general to speed up parsing > > of large files? > In Xerces-C++ 3-series the build system has changed to autoconf/automake. > As a result, you may be using different optimization options when building > the two versions. For example, by default with the GCC compiler Xerces-C++ > 3-series is built with -O2 -g while 2-series with -O3, if I remember > correctly. So I suggest that you explicitly pass optimization flags to > the 3-series build during configure: > >./configure CFLAGS=-O3 CXXFLAGS=-O3 ... Ah, thats an interesting point. But I do build with sunworkshoppro under solaris, so I have to see, which optimization features I do have there. > Let us know if you see any difference with this. I have compiled now the library with -xO3, that makes the .so file a lot smaller (about 15%). I have to do a lot of testing now, to see what the impact is on my program. The first two testruns were below 20 Minutes, which is a good sign sofar. regards, Jens Weller -- Boris Kolpackov, Code Synthesis http://codesynthesis.com/~boris/blog Open-source XML data binding for C++ http://codesynthesis.com/products/xsd XML data binding for embedded systems http://codesynthesis.com/products/xsde Command line interface to C++ compiler http://codesynthesis.com/projects/cli
