Just the promised follow up on comparing Castor's XML
umarshalling/marshalling performance after Keith Visco's earlier comments
(hope someone may be interested):

This test case is a simple var/value type structure with 800 pairs (testbed
Athlon 1.33Ghz/
Win2k/JDK1.3.1/run from ant in a cygwin window):

                        total           avg             num p/sec
umarshall           4.536        0.1134       8.818
no indent           3.936        0.0984       10.163
indent                5.306        0.1327         7.539

so turning indent on in castor.properties slows things down by 26% and can
easily make marshalling slower then unmarshalling.(not what I would have
expected, as writing out lots of blanks should still be a lot quicker then
lots of object creations). Here are the figures anyway...

Cheers,
Norval

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

Reply via email to