You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Valgeir Halldórsson (JIRA)" <ji...@apache.org> on 2009/10/12 13:53:31 UTC

[jira] Created: (AXIS2-4524) Caching BeanInfo in adb module's BeanUtil improves performance

Caching BeanInfo in adb module's BeanUtil improves performance
--------------------------------------------------------------

                 Key: AXIS2-4524
                 URL: https://issues.apache.org/jira/browse/AXIS2-4524
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: adb
    Affects Versions: 1.5
            Reporter: Valgeir Halldórsson


I've detected that org.apache.axis2.databinding.utils.BeanUtil class can be improved for performance. It seems that invoking Introspector.getBeanInfo(Class,  Class) takes a lot of time. By caching java.beans.BeanInfo in this 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 improvement. 

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


[jira] Updated: (AXIS2-4524) Caching BeanInfo in adb module's BeanUtil improves performance

Posted by "Valgeir Halldórsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valgeir Halldórsson updated AXIS2-4524:
---------------------------------------

    Attachment: BeanUtil.diff

I've attached a diff of my version and the 1.5 version of Axis2 adb BeanUtil class.

> Caching BeanInfo in adb module's BeanUtil improves performance
> --------------------------------------------------------------
>
>                 Key: AXIS2-4524
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4524
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: adb
>    Affects Versions: 1.5
>            Reporter: Valgeir Halldórsson
>         Attachments: BeanUtil.diff
>
>
> I've detected that org.apache.axis2.databinding.utils.BeanUtil class can be improved for performance. It seems that invoking Introspector.getBeanInfo(Class,  Class) takes a lot of time. By caching java.beans.BeanInfo in this 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 improvement. 

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