Saving Workspace Very Slow

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Saving Workspace Very Slow

Postby Kahuna » Tue Nov 10, 2009 11:16 am

Hi Folks - after every edit and save - I'm held up for between 10 and 30 seconds whilst the workspace is saved.

This is not a huge environment (100+ forms, and globals and form code pages are not large either). It used to be (last month) that the workspace would take 5 seconds to save and it appeared to hang around 87% or so. Now its taking these extended times and seems to hover around 78% before jumping to completion.

The delay is becoming intolerable as this is likely 50 times a day, tweaking / saving and re-testing.

Is there an environment variable I can tweak to speed-up the saving process?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Saving Workspace Very Slow

Postby rgansevles » Tue Nov 10, 2009 11:56 am

Ian,

In Servoy 4 we are saving the solutions in many files (each element has its own file).
In Servoy 5 we have changed that, elements are stored in the form.frm file.

Try Servoy 5 to see if this improves performance for you.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Saving Workspace Very Slow

Postby Kahuna » Tue Nov 10, 2009 12:12 pm

rgansevles wrote:Ian,

In Servoy 4 we are saving the solutions in many files (each element has its own file).
In Servoy 5 we have changed that, elements are stored in the form.frm file.

Try Servoy 5 to see if this improves performance for you.

Rob


Thanks for that Rob - we are teetering on the edge of jumping to S5 but were really waiting for feedback at Servoy Camp - (since its a one way deal to convert and we don't really have the time to jump then go back if we have to).

Is 5 ready for us to move to now?

In your experience - what's the typical time scale to port a solution to 5?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Saving Workspace Very Slow

Postby jcompagner » Mon Nov 16, 2009 12:52 am

Kahuna wrote:Is 5 ready for us to move to now?



yes

but if your solution is not that big i dont know why even 4.1 should be so slow.
But we did make great improvements in 5 if you look at performance.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Saving Workspace Very Slow

Postby Kahuna » Mon Nov 16, 2009 1:12 am

jcompagner wrote:
Kahuna wrote:Is 5 ready for us to move to now?



yes

but if your solution is not that big i dont know why even 4.1 should be so slow.
But we did make great improvements in 5 if you look at performance.


Johan, been testing 5 today on several different development machines (all XP) and the workspace build time is still similar to 414. Just today I've been getting 10 to 20 seconds (had gotten as bad as 30 to 40 seconds onn 414) to build the workspace even when all that has been changed is a single comment in a single .js file??

We'll be doing more on it tomorrow and keep you posted on the results. One point is that there are a number of warnings in this solution (which I'll get rid of tomorrow) - though in general they are element overlaps on forms, would that cause slow building?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Saving Workspace Very Slow

Postby jcompagner » Mon Nov 16, 2009 11:30 am

building is possible that it takes some time
But thats a background process shouldnt be to much of a problem, you should be able to continue just fine. (except if you want to start up a client, then building needs to be finished)

I dont have those problems you describe and i have tested it with a 6000 forms solution and some other really big solutions.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Saving Workspace Very Slow

Postby Kahuna » Tue Nov 17, 2009 3:10 pm

jcompagner wrote:building is possible that it takes some time
But thats a background process shouldnt be to much of a problem, you should be able to continue just fine. (except if you want to start up a client, then building needs to be finished)

I dont have those problems you describe and i have tested it with a 6000 forms solution and some other really big solutions.


Johan, thanks for the feedback.

we've now tested this on Vista, XP (SP2 and 3) and Linux Ubuntu 9.10, all have the same result (in both Servoy 414 and 5) and still giving us the extended workspace build times.

Unfortunately we cant just continue to work as the entire developer is stopped during the build - so we cant get back to an open Client or do anything constructive until the build is completed.

is there something in our solution that could be causing extended builds? It appears that the entire solution is built even if I just add a comment ('//test' for example) - this could take between 30 and 40 seconds to build (I timed it today)?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Saving Workspace Very Slow

Postby jcompagner » Tue Nov 17, 2009 5:36 pm

what you can do is 7zip your workspace (and your servoy property file in the application_server) and send it over to us
so that we can look what takes so long.
Maybe we also have to have your extra beans en plugins that you use, maybe there there is some delay.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Saving Workspace Very Slow

Postby Kahuna » Tue Nov 17, 2009 6:06 pm

jcompagner wrote:what you can do is 7zip your workspace (and your servoy property file in the application_server) and send it over to us
so that we can look what takes so long.
Maybe we also have to have your extra beans en plugins that you use, maybe there there is some delay.


Great - how should I get that over to you Johan?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Saving Workspace Very Slow

Postby jcompagner » Tue Nov 17, 2009 6:28 pm

if it is not to big you can attach it to a case.
Or place it on a server and point to us where to download it.

We also can provide some ftp site for you to upload it
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 10 guests

cron