StyleCop.ReSharper icon indicating copy to clipboard operation
StyleCop.ReSharper copied to clipboard

Editing becomes slow in VS with StyleCop plugin

Open AngieEl opened this issue 4 years ago • 0 comments

For some reason Resharper started using 2GB of memory every keystroke. This causes me wait a few seconds between each keystroke

Snapshot details:

100.00%   Execute  •  18,835 ms  •  StyleCop.ReSharper.Core.StyleCopRunnerInt.Execute(IProjectFile, IDocument, ICSharpFile)
  100.00%   RunStyleCop  •  18,835 ms  •  StyleCop.ReSharper.Core.StyleCopRunnerInt.RunStyleCop(IDocument)
    100.00%   FullAnalyze  •  18,835 ms  •  StyleCop.StyleCopCore.FullAnalyze(IList)
      100.00%   Analyze  •  18,835 ms  •  StyleCop.StyleCopCore.Analyze(IList, Boolean, String)
        100.00%   RunWorkerThreads  •  18,835 ms  •  StyleCop.StyleCopCore.RunWorkerThreads(Data, Int32)
          100.00%   DoWork  •  18,835 ms  •  StyleCop.StyleCopThread.DoWork(Object)
            100.00%   ParseAndAnalyzeDocument  •  18,835 ms  •  StyleCop.StyleCopThread.ParseAndAnalyzeDocument(SourceCode, DocumentAnalysisStatus)
              100.00%   ParseFile  •  18,835 ms  •  StyleCop.CSharp.CsParser.ParseFile(SourceCode, Int32, ref CodeDocument)
                1.87%   OutOfBounds  •  353 ms  •  StyleCop.ItemList`1.OutOfBounds(Node)
                0.78%   ItemList`1..ctor  •  148 ms  •  StyleCop.ItemList`1..ctor(MasterList, Node, Node)
#stacktrace

AngieEl avatar Jul 14 '21 22:07 AngieEl