Bug 525594 - [Win32] We have upgraded our Eclipse 3.4.2 to Eclipse 4.5.2 and some of our UIs are very slow
Summary: [Win32] We have upgraded our Eclipse 3.4.2 to Eclipse 4.5.2 and some of our U...
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-10-05 03:21 EDT by Appasaheb Neelawani CLA
Modified: 2017-10-26 03:36 EDT (History)
2 users (show)

See Also:


Attachments
EclipsePluginsList - 3.4.2 and 3.5.2 (6.22 KB, text/plain)
2017-10-05 03:21 EDT, Appasaheb Neelawani CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Appasaheb Neelawani CLA 2017-10-05 03:21:25 EDT
Created attachment 270836 [details]
EclipsePluginsList - 3.4.2 and 3.5.2

Hi Team,

We have upgraded Eclipse version 3.4.2 to Eclipse version 4.5.2 as well as java 1.7 to Java 1.8 version, after that some of our UIs are very slow.

In the older version of eclipse 3.4.2 the SWT jar is org.eclipse.swt_3.4.2.v3452b.jar 

In new version of Eclipse 4.5.2 it comes with org.eclipse.swt_3.104.2.v20160212-1350.jar.

The problem is which ever screen has more widgets and it related controls is taking more time (25 sec to load the screen) and the same screen in older version was taking just (10 milliseconds).


One more analysis we found that org.apache.commons.validator.ValidatorResources.ValidatorResources(InputStream[] streams) 

Is taking 6-7 seconds per iteration.


We are struggling with this issue since 2 months, it will be great help if somebody resolves this issue.


Thanks in advance,
Appasaheb
Comment 1 Andrey Loskutov CLA 2017-10-05 05:32:42 EDT
(In reply to Appasaheb Neelawani from comment #0)
> One more analysis we found that
> org.apache.commons.validator.ValidatorResources.
> ValidatorResources(InputStream[] streams) 
> 
> Is taking 6-7 seconds per iteration.

Please create different bug report for that. SWT does NOT use org.apache.commons.

> We are struggling with this issue since 2 months, it will be great help if
> somebody resolves this issue.

Please provide a standalone example including only the widgets where the regression occurs, or at least some profiling data showing SWT times before/after update. Without this this bug can't be proceeded.
Comment 2 Appasaheb Neelawani CLA 2017-10-26 01:40:38 EDT
Hi Andrey Loskutov,

After using jvisualVM tool we found the root cause, part of our code was trying to load the properties file again and again, after correcting the code, UI response time came to 2sec from 10sec.

Sorry for delay in updating you.

Thanks,
Appasaheb