Closed dbwz8 closed 9 years ago
@dungpa We only parse current file here https://github.com/fsprojects/VisualFSharpPowerTools/blob/master/src/FSharpVSPowerTools.Core/XmlDocParser.fs#L141 It should be very fast. So, I suspect we are waiting in Checker queue until Parse and Check, triggered by other features, finishes. No idea what to do with it. /cc @dsyme
@dbwz8 How big is the file that you observe the slow down? Does this happen right after opening a Visual Studio session (i.e. in the low traffic scenario)?
Here’s what we see:
It definitely gets worse the longer you’re in VS, however sometimes it’s instantaneous even after long editing sessions on large files. Very unpredictable.
From: Anh-Dung Phan [mailto:notifications@github.com] Sent: Thursday, August 13, 2015 7:11 AM To: fsprojects/VisualFSharpPowerTools VisualFSharpPowerTools@noreply.github.com Cc: Dave Wecker dbwz8@hotmail.com Subject: Re: [VisualFSharpPowerTools] XMLDoc comments unusably slow (#1072)
@dbwz8 https://github.com/dbwz8 How big is the file that you observe the slow down? Does this happen right after opening a Visual Studio session (i.e. in the low traffic scenario)?
— Reply to this email directly or view it on GitHub https://github.com/fsprojects/VisualFSharpPowerTools/issues/1072#issuecomment-130689635 . https://github.com/notifications/beacon/AKEAqZMiG-wrTqo2kn958jDFAVnQhr71ks5onJ0GgaJpZM4Fn71Z.gif
@dbwz8 Apologize for the slow reply.
Could you try a recent build with a potential fix for the issue https://ci.appveyor.com/project/dungpa/visualfsharppowertools/build/2.2.0-a1510171153?
Due to historical reasons, XmlDoc generation wasn't cached properly as other features. It has been corrected in https://github.com/fsprojects/VisualFSharpPowerTools/pull/1173 and https://github.com/fsprojects/VisualFSharpPowerTools/pull/1177.
Thank you.
@dbwz8 If you still experience any issues with XML Doc generation, reopen this issue or create another one.
When typing ///< it can literally take a minute or two before the comment insertion happens (typically it's more like several seconds). This is long enough to give up, go somewhere else in the file and then all of a sudden have the comment inserted completely at random. Very bad.