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

Claus Ibsen commented on CAMEL-3139:
------------------------------------

Some numbers on my laptop from a single threaded test looping 500k 

2010-09-21 08:33:14,070 [main           ] INFO  JavaUuidGeneratorTest          
- First id: 1c236cdc-2aeb-41dc-b5ee-815aa35a8e38
2010-09-21 08:33:16,782 [main           ] INFO  JavaUuidGeneratorTest          
- Last id:  9650cb32-34fd-47c5-a65b-c3eab6cbfd7d
2010-09-21 08:33:16,787 [main           ] INFO  JavaUuidGeneratorTest          
- Took 2.713 seconds

2010-09-21 08:42:41,132 [main           ] INFO  ActiveMQUuidGeneratorTest      
- First id: ID-davsclaus.local/51388-1285051361028/1-1
2010-09-21 08:42:41,303 [main           ] INFO  ActiveMQUuidGeneratorTest      
- Last id:  ID-davsclaus.local/51388-1285051361028/1-500002
2010-09-21 08:42:41,309 [main           ] INFO  ActiveMQUuidGeneratorTest      
- Took 0.172 seconds

2010-09-21 08:37:31,807 [main           ] INFO  SimpleUuidGeneratorTest        
- First id: 1
2010-09-21 08:37:31,905 [main           ] INFO  SimpleUuidGeneratorTest        
- Last id:  500002
2010-09-21 08:37:31,910 [main           ] INFO  SimpleUuidGeneratorTest        
- Took 0.099 seconds

> Use ActiveMQUuidGenerator as the default uuid generator as its faster than 
> the JDK UUID generator
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3139
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3139
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.1.0, 2.2.0, 2.3.0, 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> The Java UUID is too slow. Switching back to AMQ based will improve 
> performance.
> We should just have to switch to use the JDK UUID for the camel-gae component 
> as it cannot use the AMQ based.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to