You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (Jira)" <ji...@apache.org> on 2021/03/25 11:16:00 UTC
[jira] [Commented] (DELTASPIKE-1426) DeltaSpikeProxyFactory is slow
on start
[ https://issues.apache.org/jira/browse/DELTASPIKE-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308594#comment-17308594 ]
Thomas Andraschko commented on DELTASPIKE-1426:
-----------------------------------------------
Feel free to work on a PR, so we can review your ideas.
> 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)