Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361763

Summary: Save is extremely slow
Product: [Technology] EGit Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: daniel_megert, remy.suen
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
call tree with time spent none

Description Markus Keller CLA 2011-10-23 18:35:24 EDT
Created attachment 205775 [details]
call tree with time spent

org.eclipse.egit_1.2.0.201110222014

After working for a while, every Save operation in a Java editor takes about 8 seconds now. That's unusable.

I'm working in the eclipse.jdt.ui repository, and I have one Synchronization open in the Synchronize view that compares the current branch to the master branch (about 20 changed files).

I'm attaching a trace that shows that all of the time burned in the UI thread is in org.eclipse.egit.core.synchronize.GitSubscriberMergeContext$2.resourceChanged(IResourceChangeEvent)
Comment 1 Remy Suen CLA 2011-10-23 20:11:38 EDT

*** This bug has been marked as a duplicate of bug 358898 ***