Dear List  [ i.e. Keith ;o) ],


Sorry I still haven't got back to you about bug#1782. I will eventually
check this out and close the bug...


For now, though, I am at the stage where I must gradually start to look into
performance issues. I was hoping that you'd have some tips for me regarding
Castor.


Just to give you an idea, I just made a very rough measurement that
indicates that unmarshalling a very small, basic file (only two child nodes
under the root, each with 2 attributes) is in the order of about 15
seconds!! What's more is that I'm using precompiled descriptor classes
rather than mapping files, so it's not the mapping that is causing me any
problems.


Do you have any tips that can help me get that down to at most < 1s,
preferable < 0.05s? If I can't, then sadly I'll have to ditch Castor when
performance becomes a big issue (which may be very soon). However, I've been
really happy with it so far and if possible, I don't want to have to do
that...


Now, that being said, I get the feeling that one of the major issues is
classloading, which is not directly a Castor issue. Since Castor is using
reflection, the classes are not being loaded until runtime due to Java's
lazy classloading.



Anyway, any tips you can give me to improve performance would be greatly
appreciated!



Dave



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to