You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/10/20 19:43:00 UTC
[jira] [Resolved] (CAMEL-15715) Simple performance regression
[ https://issues.apache.org/jira/browse/CAMEL-15715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-15715.
---------------------------------
Fix Version/s: 3.6.0
Assignee: Claus Ibsen
Resolution: Duplicate
> Simple performance regression
> -----------------------------
>
> Key: CAMEL-15715
> URL: https://issues.apache.org/jira/browse/CAMEL-15715
> Project: Camel
> Issue Type: Bug
> Components: came-core
> Affects Versions: 3.4.4
> Reporter: Antoine DESSAIGNE
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.6.0
>
>
> Hello everyone,
> We identified a performance drop in Simple expressions in 3.4.4 compared to 2.25.1
> Given the following route
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <routes xmlns="http://camel.apache.org/schema/spring" xmlns:u="http://www.systar.com/aluminium/camel-util">
> <route>
> <from uri="timer:foo?delay=-1&repeatCount=1000000"/>
> <!-- fake data to have something to work with -->
> <setBody>
> <groovy>['a', 'b', 'c', 'd']</groovy>
> </setBody>
> <setHeader headerName="raw">
> <simple>${body[2]}</simple>
> </setHeader>
> <setHeader headerName="string">
> <simple resultType="String">${body[2]}</simple>
> </setHeader>
> <setHeader headerName="constant">
> <constant>constant</constant>
> </setHeader>
> <to uri="log:throughput?groupInterval=1000"/>
> </route>
> </routes>
> {code}
> In Camel 3.4.4 I have an average of 10,324 messages per second whereas I have an average of 69,662 messages per second in Camel 2.25.1
> When extracting JMX {{TotalProcessingTime}} attribute on the {{setHeader}} processors here what I have for the 1 million messages
> ||SetHeader||Camel 2.25.1||Camel 3.4.4||
> ||raw|4506|45275|
> ||string|3935|44103|
> ||constant|377|470|
> We're using an OSGi environment but I don't think it has an impact here.
> Can you have a look? What can I do to help?
> Thank you
--
This message was sent by Atlassian Jira
(v8.3.4#803005)