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

Adrian Crum updated OFBIZ-5170:
-------------------------------

    Attachment: HotSpots_Rev_1464779.csv

Attached the control Hot Spots file.

Notice the ComponentLocationResolver.resolveLocation(String) method (line 29). 
That method originally had a self time of 15%. I guessed the reason it was so 
high was because each invocation accesses the file system twice, and the file 
system was being kept busy by Derby - so the method call was being blocked. So, 
I refactored the code to eliminate the file system calls (rev 1464750) and now 
the self time is down to 2%.


                
> Profiling OFBiz
> ---------------
>
>                 Key: OFBIZ-5170
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5170
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: HotSpotSettings.PNG, HotSpots_Rev_1464779.csv
>
>
> I will be using this issue to share the things I learn while profiling OFBiz 
> to study the impact of removing Javolution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to