akonwi / git-plus

vim-fugitive like package for atom. make commits and other git things without the terminal
MIT License
537 stars 163 forks source link

Package slowing Atom down #765

Closed jordyvandomselaar closed 6 years ago

jordyvandomselaar commented 6 years ago

This package adds a conciderable load on Atom at boot time: image

Is there anything that can be done about this? I really like this package, but Atom really slows down after a while.

akonwi commented 6 years ago

Can you reload atom 5-10 times and get an average of the activation times? It really shouldn't take that long. I see about 12ms.

jordyvandomselaar commented 6 years ago

Hey @akonwi ,

I've stopped using Atom as an IDE, opting for Phpstorm instead.

Thanks for your reply though, I'll close this issue =)

robhicks commented 5 years ago

I'm running Atom 1.39.0-beta3 x64 on a MacBook Pro (2016) with Mojave 10.14.5. My average start time of git-plus (over 5 reloads) is 435ms.

akonwi commented 5 years ago

@robhicks That's odd. Is this a recent development? How many projects are in the window, if any? Have you tried it with stable Atom to see if it's similar behavior?

robhicks commented 5 years ago

@akonwi I usually run each project in a separate Atom window. I just tried loading projects in the same window and git-plus loads in about 10ms. I tried the latest version of the stable branch with basically the same results. So, it looks like Atom will be faster if I don't use separate windows for each project.

akonwi commented 5 years ago

Those are interesting results. I wonder if the big numbers you saw were a bit flukey because I usually have at least 3 windows with multiple projects in them and the load times I see are consistent.