Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » EGit perf and file saving problems  () 1 Vote
EGit perf and file saving problems [message #731965] Mon, 03 October 2011 14:57 Go to next message
gb  is currently offline gb
Messages: 1
Registered: October 2011
Junior Member
Hello,

We want to migrate a project from CVS to Git, and our developpers are familiar with CVS plugin for eclipse.

Our project is consistent (several year history, and about 30000 files).
(we can of course limit the history to 1 year or so).

But any operation with EGit(synchronizing, fetching, pushing, ...) is much slower thant with command line or SmartGit.

The blocking point is that when working on a set of projects (Git tracked) under Eclipse, file saving operation is now taking several seconds.


Is this a known problem ? That EGit do have some problems handling big (file numbered) projects ? Is there anywork on this point ?

Thanks in advance for your help,

Re: EGit perf and file saving problems [message #732010 is a reply to message #731965] Mon, 03 October 2011 16:36 Go to previous messageGo to next message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 330
Registered: July 2009
Senior Member
gb skrev 2011-10-03 16.57:
> Hello,
>
> We want to migrate a project from CVS to Git, and our developpers are
> familiar with CVS plugin for eclipse.
>
> Our project is consistent (several year history, and about 30000 files).
> (we can of course limit the history to 1 year or so).
>
> But any operation with EGit(synchronizing, fetching, pushing, ...) is
> much slower thant with command line or SmartGit.
> The blocking point is that when working on a set of projects (Git
> tracked) under Eclipse, file saving operation is now taking several
> seconds.
>
>
> Is this a known problem ? That EGit do have some problems handling big
> (file numbered) projects ? Is there anywork on this point ?

As you describe it, yes, but there are known issues with the decorator
and I've occasionally stumbled on very bad performance when dealing with
new projects. Take a look at bugs.eclipse.org and see if you find
anything similar to your problem, if not add a new issue. Remember to
add so much information that anyone can actually reproduce your problem
easily.

Also remember to test test nightly builds if you experience an issue.

-- robin
Re: EGit perf and file saving problems [message #753854 is a reply to message #732010] Sat, 29 October 2011 14:33 Go to previous messageGo to next message
Valery  is currently offline Valery
Messages: 9
Registered: October 2009
Junior Member
I've found only this one:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346079
However it is not the issue that explicitly addresses the 5-sec freezing during file saving.
Enyone found it?
Re: EGit perf and file saving problems [message #755148 is a reply to message #753854] Mon, 07 November 2011 14:24 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 588
Registered: July 2009
Senior Member
Did you try this with a recent nightly build from [1] ? The git decorator was reimplemented recently to address some of the performance issues.

[1] http://download.eclipse.org/egit/updates-nightly
Re: EGit perf and file saving problems [message #756144 is a reply to message #755148] Fri, 11 November 2011 08:47 Go to previous messageGo to next message
Sylvain Laurent is currently offline Sylvain Laurent
Messages: 6
Registered: November 2011
Junior Member
I tried the nightly build and it's much faster for everything, including fetch, push and especially the label decorators. But it's always faster if you reduce the recursion level in the preferences.
Re: EGit perf and file saving problems [message #756179 is a reply to message #756144] Fri, 11 November 2011 12:02 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 588
Registered: July 2009
Senior Member
Which recursion level ?
Re: EGit perf and file saving problems [message #756256 is a reply to message #756179] Fri, 11 November 2011 16:41 Go to previous messageGo to next message
Sylvain Laurent is currently offline Sylvain Laurent
Messages: 6
Registered: November 2011
Junior Member
I set it to off or 1 with egit 1.1
With 1.2 nightly I use the same settings to be safe, but I'll try to revert to the default of infinite and see how it performs.
Re: EGit perf and file saving problems [message #756260 is a reply to message #756256] Fri, 11 November 2011 17:12 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 588
Registered: July 2009
Senior Member
I don't get which preference allows to define a recursion level ...
Re: EGit perf and file saving problems [message #756417 is a reply to message #756260] Sat, 12 November 2011 23:52 Go to previous message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 330
Registered: July 2009
Senior Member
Matthias Sohn skrev 2011-11-11 18.12:
> I don't get which preference allows to define a recursion level ...

Under Team > Git > Label Decoration. I've hardly thought of this. It smells
"workaround".

-- robin
Previous Topic:Release schedule?
Next Topic:Problems pushing a repo
Goto Forum:
  


Current Time: Fri Oct 24 15:42:38 GMT 2014

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

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