Over a million developers have joined DZone.

Making Git 30 Times Faster in Eclipse

DZone's Guide to

Making Git 30 Times Faster in Eclipse

· ·
Free Resource
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

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}