Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Performance Issue(Performance Issue)
Performance Issue [message #694669] Sat, 09 July 2011 06:27 Go to next message
manoj dabholkar is currently offline manoj dabholkarFriend
Messages: 3
Registered: July 2011
Junior Member
Hi

I am creating a more than 100 columns in nebula grid using for loop, Its working fine in windows platform, but when the same source is run on ubuntu linux it will take time to load. In Ubuntu it will take more than 10secs and in windows it will take only 2-3 seconds. Please help to resolve this nebula grid columns creation loading time issue in ubuntu linux.
Re: Performance Issue [message #694772 is a reply to message #694669] Sat, 09 July 2011 16:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Manoj,

Have you measured anything with a profiler yet? Could you characterize
what type of hardware you're running in each of the cases?


On 08/07/2011 11:27 PM, manoj dabholkar wrote:
> Hi
> I am creating a more than 100 columns in nebula grid using for
> loop, Its working fine in windows platform, but when the same source
> is run on ubuntu linux it will take time to load. In Ubuntu it will
> take more than 10secs and in windows it will take only 2-3 seconds.
> Please help to resolve this nebula grid columns creation loading time
> issue in ubuntu linux.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Performance Issue [message #695264 is a reply to message #694772] Mon, 11 July 2011 11:53 Go to previous message
manoj dabholkar is currently offline manoj dabholkarFriend
Messages: 3
Registered: July 2011
Junior Member
Hi Ed Merks,

Thanks for the response. On both Windows XP and Ubuntu Linux we are using strong (good) hardware.

The code is as follows :

for (int i = 0; i < 200 ; i++)
{
GridColumn column = new GridColumn(bottomGridDayView,SWT.NONE);
if(i==0)
{
column.setWidth(20);
}
else if(i==1)
{
column.setWidth(30);
}
else if(i == delimitCol)
{
column.setWidth(5);
}
else
{
column.setWidth(3);
}
}

We are creating around 200 columns on the grid (bottomGridDayView). The grid is formed by the code below.


bottomGridDayView = new Grid(canvas,SWT.NONE | SWT.V_SCROLL | SWT.H_SCROLL);

bottomGridDayView.setHeaderVisible(false);
bottomGridDayView.setRowHeaderVisible(false);
bottomGridDayView.setCellSelectionEnabled(true);


On Windows XP :- Above code loads the grid in 2-3 seconds
On Suse Linux :- Above code loads the grid in 2-3 seconds
On Ubuntu Linux :- Above code loads the grid in more than 7 seconds

We are facing this problem only on Ubuntu linux operating system.

Please help us to solve the issue.


Regards,
Manoj
Previous Topic:Introspection using Reflection
Next Topic:Cannot run Indigo
Goto Forum:
  


Current Time: Thu Apr 25 17:39:59 GMT 2024

Powered by FUDForum. Page generated in 0.06077 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top