Current filter:
                                You should refresh the page.
                                  • Since upgrading to version 16.1 of visual studio 2019, I've started getting repeated performance warnings that coderush is slowing down typing. Has anyone else reported anything similar? It's happening often enough within a single launch of visual studio to be annoying. I've attached my logs from the last few days. If I can provide any further information, please let me know

                                Show all comments
                                • Dmitry O (DevExpress) 05.28.2019

                                  Hi Kevin,
                                  Thank you for reporting this and providing the log files.

                                  I see a number of errors that may potentially affect the typing experience and need some time to examine these errors in more detail. I will get back to you as soon as I have any results.

                                  I also noticed that most of these errors are related to the Code Places and Rich Comments features. While we are examining these errors, may I ask you to help us verify whether or not these features are the cause the slowdown you're experiencing? Would you please temporarily disable these features and let me know if this makes a difference?  Please do the following:

                                  1) Disable the Code Places.
                                  2) Disable Rich Comments.
                                  3) Restart Visual Studio and let me know whether or not this helps.

                                  I look forward to your answer.

                                • Kevin O'Donovan 05.29.2019

                                  Hi Dmitry,
                                  Tried that, and it seems to have improved things, but not completely removed the problem. I got the message immediately on starting my first edit after restarting visual studio, then once or maybe twice more within the session. I've attached the new log file for the session

                                  Kevin

                                • Dmitry O (DevExpress) 05.30.2019

                                  Thank you for the new log file. I analyzed it and found two problems. We will process them, however, they cannot be related to the slowing of typing.
                                  To help us find the cause of the issue, please perform the following steps:

                                  1. Enable Performance Monitor: Extensions->CodeRush->Options->IDE->Diagnostic->Performance Monitor->Enabled and click the OK button in the bottom right corner of the options page.
                                  2. Try to reproduce the issue.
                                  3. Disable Performance Monitor: Extensions->CodeRush->Options->IDE->Diagnostic->Performance Monitor->Enabled and click the OK button in the bottom right corner of the options page.
                                  4. Close all instances of Visual Studio.
                                  5. Provide us with the whole CodeRush log files folder: Extensions->CodeRush->Support->CodeRush Logs..
                                • Kevin O'Donovan 05.30.2019

                                  Thanks Dmitry, I'll see what I can do. I must say though that I have not had the issue today at all. One thing that might be relevant: yesterday I was doing some fairly large scale refactorings, with changes to related components across multiple assemblies. As a result there was a lot of broken code during the day. I wonder could that have impacted on coderush to cause the message? Anyway, I will have a look tomorrow to see if I can reproduce the messages, and if so will record the data and upload it here.

                                  Kevin

                                • Dmitry O (DevExpress) 05.31.2019

                                  >I wonder could that have impacted on coderush to cause the message?

                                  Unfortunately, I cannot determine the cause of the problem based on the information I have.
                                  We will continue analyzing problems from your log files. If we have any progress, we will notify you in the context of the current ticket.

                                  > I will have a look tomorrow to see if I can reproduce the messages, and if so will record the data and upload it here.
                                  Thank you. This information will be very helpful. We look forward to receiving data from you.

                                • Kevin O'Donovan 06.06.2019

                                  It looked like the problem had gone away, but I've had it a number of times in my current editing session. Caught the last one with the performance monitoring switched on, and will include the logs. Whilst I'm at it, I've recorded something else strange. Not sure whether this is a coderush issue or a VS2019 issue, as I installed VS2019 v16.1 and a coderush update at around the same time. Since doing so I've noticed quite a lot of times when intellisense isn't picking up completions that it should be. As it happened, this manifested itself whilst I was recording the performance data, so I've recorded it for you to take a look at. Here's a link to the screencast. I'm trying to type the class private variable "_legKey", but it won't recognise it, despite it working fine a few seconds earlier on the other half of the And. Also once it incorrectly selects "Key" as a completion, and I delete it, it starts working again, and correctly offers up _legKey. I've spotted this numerous times over the last week or so, but not had the chance to catch it until now

                                • Kevin O'Donovan 06.06.2019

                                  Forgot to add, this had been happening for almost every field in the select part of the Linq statement at the top of the screenshot, which is why I was trying to retype that statement to reproduce the error. I can't say for sure if this is only happening withing Linq statements, but I feel it might be

                                • Kevin O'Donovan 06.06.2019

                                  Just been looking at the logs, but I can't see any extra data in them - have I sent the right stuff through? The performance monitor was definitely enabled

                                • Kevin O'Donovan 06.07.2019

                                  Experiencing the slowdown message a lot this morning, mostly with linq statement, but not exclusively. I've enabled performance monitoring again, but I can't see any extra data in the logs. Was I supposed to do anything with the Save To button on the options screen for the performance monitoring. It would be a shame if the profiling from this morning isn't collecting what you need, as there are lots of incidents

                                • Kevin O'Donovan 06.07.2019

                                  New logs from this morning. I've just disabled the performace monitoring, pressed the ok button, and shut down visual studio. I still don't see any extra log information in there though :-(

                                • Dmitry O (DevExpress) 06.07.2019

                                  >Just been looking at the logs, but I can't see any extra data in them - have I sent the right stuff through? The performance monitor was definitely enabled

                                  Yes, you are right - your archives with logs do not contain performance information. After enabling "Performance Monitor", the CodeRush logs folder should contain files in the UIPerformance*.log format, but there are no such files in your logs folder.

                                  Could you please try performing the steps for collecting performance logs again? Before you do it, close all visual studio instances and remove the existing CodeRush logs folder.
                                  Also, please make sure that you confirm enabling of "Performance Monitor" by pressing the OK button. I have recorded a screencast showing how the performance logs are collected on my side.
                                  If the new logs folder will not contain UIPerformance*.log files, could you provide us with your CodeRush settings folder (CodeRush->Support->Settings Folder) so that we can understand why the performance logs are not collected on your side.

                                  I also noticed that you specified v19.1.3 in the Build field of this ticket. If you are indeed working with v19.1.3, I recommend updating to v19.1.4 we recently published via: Tools->Extensions and Updates->Updates->Visual Studio Marketplace->CodeRush->Update button, restart Visual Studio.

                                  >Since doing so I've noticed quite a lot of times when intellisense isn't picking up completions that it should be.

                                  I have created separate tickets on your behalf for the problems you described. We will process the issues in these new tickets: Intellisense isn't picking up completions.

                                • Kevin O'Donovan 06.07.2019

                                  Okay, deleting the logs folder has done the trick, I now get the UIPerformance.*.log file. However, I accidentally hit "do not show this message again" on the coderush typing message. Do you know how to reset that? In VS2017 it never used to take any notice when I tried to switch off messages like that, not sure if VS2019 is the same.

                                  I've attached the logs I recorded anyway, but having switched that message off, i've no idea if the logs are relevant

                                • Kevin O'Donovan 06.07.2019

                                  Also yes, I am using 19.1.4 - not sure if I reported this incorrectly when I raised this, or I've updated since

                                • Dmitry O (DevExpress) 06.07.2019

                                  Thank you for the log files. We are currently analyzing the "UIPerformance 2019-06-07 15.38.03.log", please give us some time.
                                  We will notify you about our progress in the context of the current ticket.

                                  >Do you know how to reset that?

                                  You can turn on/off "don't show ..." message via Help->"Visual Studio Performance Manager" dialog.

                                • Kevin O'Donovan 06.07.2019

                                  I don't seem to have an option on there to change the message status: https://www.screencast.com/t/4WNTfQHBhr. The only option there is to disable the extension, which I assume would disable Coderush

                                • Dmitry O (DevExpress) 06.10.2019

                                  I analyzed "UIPerformance 2019-06-07 15.38.03.log" and didn't find any stack entries related to CodeRush.
                                  However I have found the following stack entry:

                                  at RedGate.Client.ActivationPluginShim.LicensingClient.()
                                  at RedGate.Client.ActivationPluginShim.LicensingClient.GetLicence()
                                  at RedGate.Client.ActivationPluginShim.LicensingClientGui.()
                                  at RedGate.Client.Shims.Common.ClientConnectionTracker.TrackConnectionOf(Action action)
                                  at RedGate.Client.ActivationPluginShim.LicensingClientGui.GetLicence()
                                  at RedGate.Client.ActivationPluginShim.LicensingClientGuiMultiplexer.GetLicence()
                                  at RedGate.Client.ActivationPluginShim.MutatingLicensingClientGui.GetLicence()
                                  at RedGate.Versioning.Client.Licensing.RedgateLicensor.GetLicence()
                                  at RedGate.Versioning.Client.Licensing.RedgateLicensor.IssueLicence()
                                  at RedGate.Versioning.Client.Licensing.Api.LicensingSentry.IsLicensed()
                                  at RedGate.Versioning.Client.Licensing.Api.LicensingSentry.GrantsAccess()
                                  at RedGate.Versioning.Client.VsShell.VisualStudio.Windows.ToolWindow.SqlChangeAutomationToolWindow.SetToolWindowName()
                                  at RedGate.Versioning.Client.VsShell.VisualStudio.Windows.ToolWindow.SqlChangeAutomationToolWindow.Initialize()

                                  As far as I understand you have other extensions besides CodeRush, which is installed in Visual Studio on your side. I assume that the problem can be related with the RedGate extension. Could you try to temporary disable the extension via: Extensions->Manage Extensions->Installed->RedGate extension-> Disable button, restart Visual Studio, try to reproduce the problem, and provide us with your results.

                                • Kevin O'Donovan 06.10.2019

                                  That's done, but unless I can find a way to re-enable that message I'm a bit stuck, I think

                                • Dmitry O (DevExpress) 06.11.2019

                                  It appears that I misinformed you in my previous reply. I was sure that the "Manage Visual Studio Performance" window provides a way to configure the "performance notification" settings. I now see that this is not the case.

                                  I checked this locally, but I was not able to find a way to reset these performance notifications settings (we even tried to reset Visual Studio settings, but without success). Searching over the Internet did not help either: I found a number of articles that describe this performance monitoring feature, but none of them describes how or where to configure it. So, I cannot suggest a solution at the moment. I will update this thread if I find a way to configure or reset these settings.
                                  Would you please clarify whether you are still seeing slowdowns when typing in the code editor?

                                • Kevin O'Donovan 06.12.2019

                                  These were never especially noticeable slow downs, it was more that the constant appearance of the error message was annoying, and also that I thought you'd want to know about it.

                                  Looks like I went through pretty much the same steps you did trying to track a way to reset the settings down. If I get any other messages I'm planning to use the sysinternals filesystem/registry monitoring tool to see what gets updated when I tell it to hide the message. If that helps I'll post it here, but otherwise I'm not sure how to progress this issue :-(

                                  Kevin

                                • Dmitry O (DevExpress) 06.13.2019

                                  I tried to find the registry key responsible for resetting Performance->Extensions->Typing list, but without success.
                                  For this reason, I wrote an issue to Visual Studio Developer community -  Visual Studio 2019 - The "Manage Visual Studio Performance" dialog does not provide a way to reset the "Don't show this message again" settings.
                                  I will monitor the issue and as soon as we will get answer, we will try to reproduce the problem on your side.

                                  >These were never especially noticeable slow downs, it was more that the constant appearance of the error message was annoying

                                  If so, I recommend you to enable again CodeRush features: Code Places and Rich Comments and enable RedGate extension, until we get answer from Visual Studio Developer community.
                                  Also, I suggest you to update CodeRush to the latest version via: Extensions->Manage Extensions->Updates->Visual Studio Marketplace->CodeRush->Update button. The new version contains
                                  some performance improvements.

                                  > If I get any other messages I'm planning to use the sysinternals filesystem/registry monitoring tool to see what gets updated when

                                  Take into account that Visual Studio uses a Visual Studio private registry file - How to examine Visual Studio 2017 registry

                                • Kevin O'Donovan 06.14.2019
                                • Dmitry O (DevExpress) 06.14.2019

                                  Thank you for the provided link. Let's wait for the answers to our questions.

                                • Edhy Rijo 11.03.2019

                                  Hi Dmitry,

                                  I am having the same issues as Kevin with CodeRush slow performance.

                                  I attached the CR and VS logs in the same zip file.

                                  I am running VS Enterprise 2019 v16.3.7 and CR v19.2.3.

                                  Please feel free to move this to a new ticket if you consider it.

                                  Thanks!

                                • Przemyslaw Wlodarczak (DevExpress) 11.04.2019

                                  Hello,

                                  I've created a separate ticket on your behalf (T829453: VS 2019 reports CodeRush is slowing typing). It has been placed in our processing queue and will be answered shortly.

                                0 Solutions

                                Creation Date Importance Sort by