gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

Modific taking up 100% cpu #41

Closed yassert closed 11 years ago

yassert commented 11 years ago

Hi, I have sublime text 2.0.1 Build 2217 installed. The only plugin enabled is Modific. Sometimes when I am editing files, the CPU usage of ST2 goes up to 100% for half a minute or so before coming down and meanwhile I cannot do anything. I think its Modific which is the culprit since if I disable it, the problem vanishes. The file sizes are not huge (<1M). The only thing I could think of was that maybe there are delays in connecting with the svn server. Anyone else having similar problems?

P.S. I really like Modific, for me its absolutely a must with ST2.

gornostal commented 11 years ago

SVN does not suppose to connect to the server when it does diff command. Can you run svn diff from console and tell me how long does it take?

yassert commented 11 years ago

svn diff does not take long at all. Anyways, the slow down occurs when I am simply editing the files. I thought of the svn server because there are a lot of files in the project (~ 200) and often I have 10-15 files open at the same time.

Sometimes a restart of ST2 helps but sometimes just disabling/renabling makes the problem go away, for a while.

gornostal commented 11 years ago

Interesting. I will try to reproduce later today. Yesterday I cloned a small svn repo, made few changes and everything was fine - Modific did not slow down ST2.

gornostal commented 11 years ago

I tried, but it worked fine. Can you check this issue on other svn project or install ST2 on different computer?

yassert commented 11 years ago

OK, I will try that. By the way, thanks for the quick replies.