You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/04 12:27: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=17453383#comment-17453383 ] 

ASF subversion and git services commented on DELTASPIKE-1426:
-------------------------------------------------------------

Commit f49e38635b10bfb8dac16f739eef48a1795a4a12 in deltaspike's branch refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=deltaspike.git;h=f49e386 ]

DELTASPIKE-1426 fix proxyfactory test


> 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
>             Fix For: 1.9.6
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)