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

2022-07-27 Thread PJ Fanning (Jira)


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

PJ Fanning updated XMLBEANS-619:

Fix Version/s: Version 5.1.1

> 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-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



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

2022-07-27 Thread Peter Keller (Jira)


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

Peter Keller updated XMLBEANS-619:
--
Description: 
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

  was:
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.

I will make a pull request on GitHub


> 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
>
> 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-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org