[ 
https://issues.apache.org/jira/browse/CAMEL-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247751#comment-13247751
 ] 

Christian Müller edited comment on CAMEL-3776 at 4/5/12 10:06 PM:
------------------------------------------------------------------

I did a few test an recorded the fastest one:

Length: 2046:
=============
Before:
testUnmarshallConcurrent() took 14122ms
testUnmarshallFallbackConcurrent() took 8479ms

After:
testUnmarshallConcurrent() took 5196ms
testUnmarshallFallbackConcurrent() took 2761ms

Length: 104
===========
Before:
testUnmarshallConcurrent() took 7281ms
testUnmarshallFallbackConcurrent() took 4815ms

After:
testUnmarshallConcurrent() took 2767ms
testUnmarshallFallbackConcurrent() took 2458ms

Best,
Christian
                
      was (Author: muellerc):
    I did a few test an recorded the fastest one:

Length: 2046:
=============
Before:
testUnmarshallConcurrent() took 14122ms
testUnmarshallFallbackConcurrent() took 8479ms

After:
testUnmarshallConcurrent() took 5196ms
testUnmarshallFallbackConcurrent() took 2761ms

Length: 104
===========
Before:
testUnmarshallConcurrent() took 7281ms
testUnmarshallFallbackConcurrent() took 4815ms

After:
testUnmarshallConcurrent() took 2767ms
testUnmarshallFallbackConcurrent() took 2458ms

Still wondering why the FallbackTypeConverter is faster than the 
JaxbDataFormat...

Best,
Christian
                  
> Add pooling support for JAXB data format
> ----------------------------------------
>
>                 Key: CAMEL-3776
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3776
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jaxb
>            Reporter: Claus Ibsen
>            Assignee: Christian Müller
>             Fix For: 3.0.0
>
>         Attachments: jaxb-pool.patch
>
>
> We should use the ServicePool in camel-core to pool JAXB / marshaller / 
> unmarshaller.
> Of course ppl should be able to customize pool settings and if to be used.
> Also mind that for type converters with JAXB you do not configure a JAXB data 
> format. And thus we should
> still be able to configure and use pooling, so the type converter can be more 
> efficient.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to