Very Slow Saving in Serclipse

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

Very Slow Saving in Serclipse

Postby erdione » Wed Aug 12, 2009 2:29 pm

I've a solution with different modules

in one of the modules When I click on save in global.js, saving is very slow (around 15 or 20 second for 12000 lines in the global.js)

Do you have any idea ?
Fabrice
erdione
 
Posts: 112
Joined: Thu Feb 01, 2007 1:19 pm

Re: Very Slow Saving in Serclipse

Postby IT2Be » Wed Aug 12, 2009 2:45 pm

Only that script or more?
What OS do you have?
Anything in your console when you save?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Very Slow Saving in Serclipse

Postby jcompagner » Wed Aug 12, 2009 2:46 pm

12K lines is quite huge... can't you divide that a bit in modules?

you can make a case where you attach that file so that we can see if we can improve it.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Very Slow Saving in Serclipse

Postby mboegem » Fri Aug 14, 2009 12:27 am

Hi Fabrice,

is it always slow, or is it slow after you used the debugger.
We have a globals js-file which is half the size of yours, but after debugging code it's very slow as well.

Johan looked into this a couple of weeks ago and he found something that might cause the slow performance after debugging... still waiting for the new release though :wink:
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Very Slow Saving in Serclipse

Postby erdione » Fri Aug 14, 2009 8:04 am

Only that script or more?
What OS do you have?
Anything in your console when you save?

Only that script, in Windows Xp or Vista and nothing in the console

can't you divide that a bit in modules?

I'll check if i can do that

is it always slow, or is it slow after you used the debugger.

It is always slow

Except the size, what kind of problem can cause slow saving ?
Fabrice
erdione
 
Posts: 112
Joined: Thu Feb 01, 2007 1:19 pm

Re: Very Slow Saving in Serclipse

Postby jcompagner » Fri Aug 14, 2009 9:05 am

erdione wrote:Except the size, what kind of problem can cause slow saving ?


Not much its just the parsing of the big file, but that parsing does touch a lot
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
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 6 guests