I recently ran a profiler on my application which uses Castor
for manipulating and marshaling/unmarshaling of XML files.
 
I found it interesting that with a small XML file (< 50 elements)
that there are many many invocations of methods within the
XMLFieldDescriptorImpl class and that my application spends 47%
of its time in this class.  The breakdown in the methods shows these
as the most highly called: equals, getFieldName, getHandler, isReference,
getValidator, ...
 
Is a typical execution profile for most Castor applications?  Is there anything
I can do to speed up execution of castor code?
 
Thanks,
 
 g GE Global Research

_______________________

G. Bowden Wise
[EMAIL PROTECTED]
Information and Decision Technologies
GE Global Research Center
Building K1, Room 5B2C
PO Box 8                           | One Research Circle
Schenectady, NY 12301      | Niskayuna NY 12309
Phone: 518-387-7833          | Fax: 518-387-6104

 

Reply via email to