Hi guys,
The new versions of CodeRush for Roslyn (1.0.09 - 1.0.10 ) that have added the XAML features are soooooooo slow that they are unusable on large XAML template or style resource dictionaries.
It's not too bad on normal views but as soon as I switch to my resource dictionaries and start doing things it grinds to a halt.
If I try and tab to a new window it takes a couple of minutes to respond.
As soon as I disable CodeRush it returns to normal so I've had to leave it disabled.
Is there a way to disable just the XAML stuff?
Cheers,
Quentin
PS. You don't have version 1.0.10 in the Build list above.
Hi Quentin,
We are concerned to hear that. Please try to disable the Show Color feature from the CodeRush\Options\Start page option page and try to reproduce this problem.
You are right, we have not added the 1.0.10 version. We will add it in the near future.
Let me know your results.
Hello Quentin,
CodeRush for Roslyn v1.0.10 should now be available in the "Select Build" combo box. We apologize for the inconvenience.
I didn't have ShowColor enabled.
I've uninstalled and reinstalled the extension.
I'll monitor it and let you know.
Cheers,
Quentin
Thank you for the clarification. I have tired to reproduce this slowdown locally, but my attempt was unsuccessful. I have prepared a build with turned off XAML features. Please install it and let me know your results.
Hi Quentin,

Do you have any news?
Also, we have found that the structural highlighting can be the cause of this problem. We can reproduce some slowdown on a big XAML file when structural highlighting is turned on. Please try turning off this feature from the toolbar and let me know your results.
Hi Andrew,
I haven't been able to reproduce it consistently (it only happened once yesterday) so it may be a combination of factors…along with VS's inherently dodgy XAML handling.
I'll turn off the structural highlighting and test it.
Cheers,
Quentin
Thank you for the information. We are looking forward to your results.
To process your inquiry in the most efficient manner, it would be helpful if you collect performance information. The best way to do this is to use the PerfView tool from Microsoft. Please install it and perform steps shown in the attached video.
To decrease the report size, I suggest that you close all other applications before making the snapshot.
It is definitely Coderush causing the issue.
I've had it disabled for a week now and it hasn't happened at all.
With coderush enabled it happens a few times a day and I have to kill VS and restart.
It seem to occur after editing large XAML files and/or ctrl-tabbing to other documents (from XAML) and back again quickly.
I've got some deadlines so I'm leaving it disabled for the next couple of weeks then I'll enable it and try and get some performance data for you
Cheers,
Quentin
Thank you for your cooperation. We are still working to enhance the performance on our side and will inform you about our progress. Yet we greatly hope to get additional information from you. Feel free to contact us at your convenience.