littlebee / git-time-machine

Atom package that allows you to travel back in commit history
MIT License
1.12k stars 37 forks source link

Performance issues #24

Closed chenglou closed 8 years ago

chenglou commented 8 years ago

(On macbook air 2014 baseline model, 4g ram 1.3 GHz Intel Core i5)

When I have 3 atom windows open, and I close and reopen atom, git-timemachine seems to do some work that freezes the whole computer for a good 10 minutes (literally). I'm not sure what work it's doing during startup.

Really love this plugin otherwise, but as it is I can only have a single atom window open to avoid the startup freeze.

littlebee commented 8 years ago

Hmmm... strange, yeah it shouldn't be doing anything at startup except registering menu and actions

chenglou commented 8 years ago

Sorry let me clarify: the startup time, as shown in "time-cop", is fine. It's the stuff that it actually runs after the startup (but without me even toggling on the view) that I suspect is incredibly expensive, e.g. whichever git command.

I highly suspect it's some git command, because no plugin (or app for that matter) successfully froze my mouse before, lol.

littlebee commented 8 years ago

Confirmed latest version (1.5.1) does not do any git operations until the time machine is first toggled on.