Page 1 of 1

Saving Workspace Very Slow

PostPosted: Tue Nov 10, 2009 11:16 am
by Kahuna
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?

Re: Saving Workspace Very Slow

PostPosted: Tue Nov 10, 2009 11:56 am
by rgansevles
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

Re: Saving Workspace Very Slow

PostPosted: Tue Nov 10, 2009 12:12 pm
by Kahuna
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?

Re: Saving Workspace Very Slow

PostPosted: Mon Nov 16, 2009 12:52 am
by jcompagner
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.

Re: Saving Workspace Very Slow

PostPosted: Mon Nov 16, 2009 1:12 am
by Kahuna
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?

Re: Saving Workspace Very Slow

PostPosted: Mon Nov 16, 2009 11:30 am
by jcompagner
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.

Re: Saving Workspace Very Slow

PostPosted: Tue Nov 17, 2009 3:10 pm
by Kahuna
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)?

Re: Saving Workspace Very Slow

PostPosted: Tue Nov 17, 2009 5:36 pm
by jcompagner
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.

Re: Saving Workspace Very Slow

PostPosted: Tue Nov 17, 2009 6:06 pm
by Kahuna
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?

Re: Saving Workspace Very Slow

PostPosted: Tue Nov 17, 2009 6:28 pm
by jcompagner
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