You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Vladimir Dvorak (Jira)" <ji...@apache.org> on 2021/03/21 09:46:00 UTC

[jira] [Updated] (DELTASPIKE-1426) DeltaSpikeProxyFactory is slow on start

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

Vladimir Dvorak updated DELTASPIKE-1426:
----------------------------------------
    Description: Deltaspike ProxyFactory start is slow. YourKit shows that the bottleneck is in the method "collectAllMethods". It intensively uses Class.getMethod(name, args), that is known by having poor performance. It seems, that number of calls could be distinctly decreased by skipping checks of public abstracts from proxy base class. In my case it improves OWB boot time by 7%.  (was: Deltaspike Proxy factory start is slow. YourKit shows that the bottleneck is in the method "collectAllMethods". It intensively uses Class.getMethod(name, args), that is known by having poor performance. It seems, that number of calls could be distinctly decreased by skipping checks of public abstracts from proxy base class. In my case it improves OWB boot time by 7%.)

> DeltaSpikeProxyFactory is slow on start
> ---------------------------------------
>
>                 Key: DELTASPIKE-1426
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1426
>             Project: DeltaSpike
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>            Reporter: Vladimir Dvorak
>            Priority: Minor
>
> Deltaspike ProxyFactory start is slow. YourKit shows that the bottleneck is in the method "collectAllMethods". It intensively uses Class.getMethod(name, args), that is known by having poor performance. It seems, that number of calls could be distinctly decreased by skipping checks of public abstracts from proxy base class. In my case it improves OWB boot time by 7%.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)