Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-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 68D30890B for ; Wed, 7 Sep 2011 12:54:43 +0000 (UTC) Received: (qmail 79379 invoked by uid 500); 7 Sep 2011 12:54:39 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 77257 invoked by uid 500); 7 Sep 2011 12:54:36 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 77191 invoked by uid 99); 7 Sep 2011 12:54:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 12:54:32 +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; Wed, 07 Sep 2011 12:54:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4A32E85347 for ; Wed, 7 Sep 2011 12:54:10 +0000 (UTC) Date: Wed, 7 Sep 2011 12:54:10 +0000 (UTC) From: "Hudson (JIRA)" To: java-dev@axis.apache.org Message-ID: <1222832577.25432.1315400050300.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-4524) Caching BeanInfo in adb module's BeanUtil improves performance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-4524?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1309= 8901#comment-13098901 ]=20 Hudson commented on AXIS2-4524: ------------------------------- Integrated in Axis2 #978 (See [https://builds.apache.org/job/Axis2/978/]) AXIS2-4524 / AXIS2-4878 / AXIS2-5118 / AXIS2-5119: Initial implementati= on of a BeanInfo cache to speed up POJO services. veithen :=20 Files :=20 * /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/= utils/BeanUtil.java * /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/classload= er/BeanInfoCache.java * /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/classload= er/BeanInfoCachingClassLoader.java * /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/deploymen= t/DeploymentClassLoader.java > Caching BeanInfo in adb module's BeanUtil improves performance > -------------------------------------------------------------- > > Key: AXIS2-4524 > URL: https://issues.apache.org/jira/browse/AXIS2-4524 > Project: Axis2 > Issue Type: Improvement > Components: adb > Affects Versions: 1.5 > Reporter: Valgeir Halld=C3=B3rsson > Assignee: Andreas Veithen > Attachments: BeanUtil.diff, axis2.diff > > > I've detected that org.apache.axis2.databinding.utils.BeanUtil class can = be improved for performance. It seems that invoking Introspector.getBeanInf= o(Class, Class) takes a lot of time. By caching java.beans.BeanInfo in thi= s class it doubles up (at least) the performance, especially when returning= a big dataset. I changed this myself and saw a great deal of performance i= mprovement.=20 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org