Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D7B9718C for ; Thu, 22 Sep 2011 13:44:50 +0000 (UTC) Received: (qmail 32544 invoked by uid 500); 22 Sep 2011 13:44:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 32505 invoked by uid 500); 22 Sep 2011 13:44:50 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 32497 invoked by uid 99); 22 Sep 2011 13:44:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2011 13:44:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2011 13:44:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 88EA5A84D2 for ; Thu, 22 Sep 2011 13:44:26 +0000 (UTC) Date: Thu, 22 Sep 2011 13:44:26 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <298286063.2132.1316699066557.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <882138025.546.1316650406086.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CAMEL-4476) Camel splitter/aggregator 2x slower in 2.8.1 vs 2.7.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-4476. -------------------------------- Resolution: Fixed Fix Version/s: 2.9.0 2.8.2 Thanks for reporting. I added a test AggregateSimpleExpressionIssueTest which is similar to yours. It can be run manually. And the test now runs as fast for constant/simple language. > Camel splitter/aggregator 2x slower in 2.8.1 vs 2.7.3 > ----------------------------------------------------- > > Key: CAMEL-4476 > URL: https://issues.apache.org/jira/browse/CAMEL-4476 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.8.1 > Environment: Oracle JDK 1.6.0_26 64-bit, CentOS 6 64-bit > Reporter: Bryan Keller > Assignee: Claus Ibsen > Fix For: 2.8.2, 2.9.0 > > > I noticed a sharp decline in the performance of my application when I upgraded from Camel 2.7.3 to 2.8.1. I discovered that the splitter/aggregator had become the bottleneck in my app. I have created a sample app that demonstrates the issue. The aggregator uses a lock, and I suspect lock contention may be at the root of this, but didn't notice any changes around that in the code diff between the versions. > I uploaded the sample app to http://www.vancameron.net/CamelPerf.zip. It uses gradle. Unzip to a directory then run "gradle" from the command line. To change the version from 2.8.1 to 2.7.3, edit the build.gradle file and run again. > The app loads 10 files with 100k lines each. It prints the current time in msec per batch. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira