Why is Sourcetree so much slower than the ugly built in Git tools?

SourceTree's git history view looks very nice. It contains approximately the same information as is shown by Git's included "gitk" tools, but it is much slower to update when presented with a long/complex history. Is this something inherent in how Sourcetree works? Or should it improve with future versions?

7 answers

For the record, I don't find SourceTree much slower than Gitk (at least on refresh once the app is loaded - the startup does tend to be a little slower). SourceTree does show you a lot more than gitk; you can get closer to the same amount of data by switching to 'Current Branch' in SourceTree (since that's all that Gitk displays), and not having any Bookmarks, although then you still have the sidebar and summaries - SourceTree shows you the log and the state of the working dir in one go for example. We're always trying to optimise, so if you have an example of a case which is especially slower, please provide us with a clone link we can use to test with.

I will look for an example in a public repo that shows the difference. In the (private repo) example in front of me, a repo with a couple hundred commits on Windows, SourceTree takes a few seconds to refresh the the history while gitk --all takes a fraction of a second. Of course I'm comparing to "gitk --all" which offers content very close to what source tree shows, including all branches and uncomitted changes. The SourceTree screen is much prettier of course.

I don't have time to pursue a good example now; I assume someone else will find a severe case that results in a bug report and fix. I'm not using SourceTree on huge projects yet, so a good workaround for now is to sip a beverage while waiting for the working copy status or history diagram to update.

Steve you just check out default vissual stduio MFC project.

It's so slow that we can not use this to look out some differnent changes.

It's absured that it needs time 1sec for 1 file check.

Mine get almost unusable. Our repo has a lot of commits but I am not so sure that is the problem.
I also have a few file not checked in in GIT, a few stashes and 15 braches.

Hi Chris? Could you let us know which version you're using? The latest is 1.0.7 on Windows.

I am on Mac. Latest 1.6.2.2

There can be various reasons for SourceTree to go slow. If you've got a lot of untracked files, if your repository is on an external disk, if you've got small system resources or perhaps if you're using a system Git version that's older. Do you fall under any of these categories?

Simple solution for me (Win7 x64): Run it as administrator!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

542 views 1 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you