atom / status-bar

Status bar for Atom
MIT License
100 stars 72 forks source link

status-bar, tree-view long time loading on git repos on windows. #117

Open flashus opened 8 years ago

flashus commented 8 years ago

I have problems with status-bar git part. When I open git repository it takes long time to open files there. Atom started from cmd atom --safe 2016-01-26 15-01-42 timecop - c apps idyachenko yandexdisk _src haskell real - atom Profiling point to GitRepository.prototype.getDiffStats: 2016-01-26 15-07-17 real cabal - c apps idyachenko yandexdisk _src haskell real - atom

My system: Atom 1.3.2, Windows 7 x64, git version 1.9.5.msysgit.1

I've tried to speed up git http://stackoverflow.com/questions/4485059/git-bash-is-extremely-slow-in-windows-7-x64 $ git config --global core.preloadindex true $ git config --global core.fscache true $ git config --global gc.auto 256 But it doesnt help.

I also have problem with tree-view, only on git repositories when opening subfolders. 2016-01-27 10-21-42 timecop c apps idyachenko yandexdisk _src haskell real atom Profiling: 2016-01-27 10-21-58 timecop c apps idyachenko yandexdisk _src haskell real atom

On my mac there are no issues, only on windows pc. On windows 10 works fine.

lee-dohm commented 8 years ago

Thanks for opening a new Issue :grinning:

flashus commented 8 years ago

Thanks for quick response! :+1:

lee-dohm commented 8 years ago

We're working on some stuff to improve the overall performance of the Git repository interactions. These changes should alleviate some of this pain. I just don't know what the schedule is on getting those changes out right now :frowning:

/cc @joshaber for when he gets back from vacation

joshaber commented 8 years ago

Unfortunately we're probably still a few versions away from those fixes being released. :disappointed: But know that it is coming.

winstliu commented 8 years ago

@joshaber Has this been fixed with status-bar@1.0.0?

joshaber commented 8 years ago

Hmm, it's hard to say. GitRepository still does a lot of work behind the scenes. The best way to find out would be to try it!