Intland has posted 12 posts at DZone. View Full User Profile

Making Git 30 Times Faster in Eclipse

01.21.2011
| 2208 views |
  • submit to reddit
At the end of 2010, a developer team at Intland Software has started to experiment with running some internal projects in Git. One of those experimental repositories contained about 50 branches, 6000 files per branch and several years of version history. When the developers started working with it, they realized that initializing the Syncronization View in EGit, the Git plugin for Eclipse, took for more than 10 minutes on this particular repo... This was obviously, totally unproductive and unacceptable.

So Intland looked into how could they optimize EGit's performance, and managed to achieve some impressive results.

After some changes, the time required to synchronize the repo mentioned before, dropped from 10 minutes to 15 seconds. In other words, it is 40 times faster now on that particular repository.
The Eclipse CDT team reported similar results: their synchronization time dropped from 32 minutes to 1.5 minutes (roughly 20 times faster now).

Now we made our performance optimized EGit version publicly available, and contributed our changes back to the official EGit version. If you don't want to wait for EGit's next release, install this version (based on 0.10, the current latest stable) via an Eclipse Update Site at JavaForge.

Read the full story
AttachmentSize
rocket-ship.jpg23.68 KB
0
Published at DZone with permission of its author, Intland Software.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)