You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "PJ Fanning (Jira)" <ji...@apache.org> on 2022/08/17 21:13:00 UTC

[jira] [Resolved] (XMLBEANS-619) Performance enhancement for interface extension generation

     [ https://issues.apache.org/jira/browse/XMLBEANS-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

PJ Fanning resolved XMLBEANS-619.
---------------------------------
    Resolution: Fixed

> Performance enhancement for interface extension generation
> ----------------------------------------------------------
>
>                 Key: XMLBEANS-619
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-619
>             Project: XMLBeans
>          Issue Type: Improvement
>          Components: Binding
>    Affects Versions: Version 5.1.0
>            Reporter: Peter Keller
>            Priority: Major
>             Fix For: Version 5.1.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I have found another performance enhancement: at these two places new instances of {{org.apache.xmlbeans.impl.config.Parser}} are created repeatedly for the same combination of Java source files and classpath.
> [https://github.com/apache/xmlbeans/blob/7dabbf1227023b3938f512632d5a750201ff2a3c/src/main/java/org/apache/xmlbeans/impl/config/BindingConfigImpl.java#L204]
> [https://github.com/apache/xmlbeans/blob/7dabbf1227023b3938f512632d5a750201ff2a3c/src/main/java/org/apache/xmlbeans/impl/config/BindingConfigImpl.java#L216]
> When there are lots of interface extensions, the performance hit is quite significant.
> See pull request https://github.com/apache/xmlbeans/pull/7



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org