[xsd-users] Need to speed up performance of parser

Boris Kolpackov boris at codesynthesis.com
Mon Apr 9 02:04:20 EDT 2018


Shrikant <n.e.x.g.e.n.s at gmail.com> writes:
 
> We have used the cxx/tree/embedded example exactly as it is in our
> application and parsing the incoming XML and mapping the XML elements to
> internal structures. We have tried optimizing our code as much as possible.
> But with no luck. Can anyone suggest tweaking any setParameter options
> for parser config, so that the parser performance can improve.

The idea is to cache and reuse as much as possible. Take a look at the
'performance' example for some ideas.

If that still doesn't get you to your desired performance, then the
next step would be to profile your application and see if there are
any hotspots.

Boris



More information about the xsd-users mailing list