This is a migrated thread and some comments may be shown as answers.

Serious XAML editing slowness with Telerik SL5

6 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob Ainscough
Top achievements
Rank 1
Rob Ainscough asked on 05 Apr 2012, 05:17 PM
I'm having a serious slowness problem with VS 2010 IDE whenever I use any Telerik controls for my SL5 application - specifically when editing XAML with the designer (split view).  At first I thought it was a problem with my PC so I purchased a new PC with i7-3960X at 4.3 Ghz, 32GB RAM, Intel 520 Series SSD, nVidia GTX570 and installed new Win7 Ultimate and VS 2010 SP1.  This made absolutely no difference to the performance of editing XAML in VS 2010 with telerik controls in the project. 

Now I realize that VS 2010 has got performance problems with XAML/Designer IDE, but when I'm using all Microsoft controls the XAML IDE performance is OK, not great, but usable.  As soon as I add any Telerik controls the XAML IDE/Designer becomes unusuable ... 5 second delay between what I type and when it appears, even just scrolling the cursor up and down the page has huge delays.

My solution is a Silverlight 5 application with 17 projects (1 web project, 4 silverlight projects, 12 .NET 4.0 projects).  The main silverlight project contains 54 pages (user control and pages) and 68 sampledata (defined in App.xaml).  VS 2010 (devenv.exe) consumes about 1.3GB RAM while editing XAML.  At first I thought it was just VS 2010, so I experimented with other solutions using ONLY Microsoft controls and the performance in the IDE was acceptable.

I'm using 2012_1_0215_Dev of RadControls which "I think" is the most current?

Can someone fill me in on what might be happening?  My only work around is to edit the XAML with the designer disabled or just not use Telerik controls ... not a great way to "Visualize" layout and defeats the purpose of using these otherwise excellent Telerik controls.

Rob.


6 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 10 Apr 2012, 03:49 PM
Hello Rob,

I've tried to simulate the low design time performance but with no avail.
Could you please provide us a bit more info about:
1) How many loaded project are enough to simulate the issue?
2) Do you experience low performance with other projects using Telerik controls?
3) Do you experience low performance when designing in Blend?
4) Do you have installed tool like JustCode or Resharper?
5) Which themes are you using?
6) Could you provide us a sample project demonstrating the issue?

Hope this will help us identify or simulate the issue.

Kind regards,

Hristo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Rob Ainscough
Top achievements
Rank 1
answered on 10 Apr 2012, 04:47 PM
Hi Hristo,

1)  Please see original post: "My solution is a Silverlight 5 application with 17 projects (1 web project, 4 silverlight projects, 12 .NET 4.0 projects). The main silverlight project contains 54 pages (user control and pages) and 68 sampledata (defined in App.xaml). VS 2010 (devenv.exe) consumes about 1.3GB RAM while editing XAML."
2)  Only Silverlight projects and only with Telerik controls (we don't have any other controls other than Microsoft's SDK and Toolkit).
3)  I no longer use Blend as it was just too slow and had too many bugs (espeically the updated for SL5)
4)  I do not have Resharper or JustCode installed (this is a new fresh Windows 7 Ultimate install on a new PC)
5)  Can you be more specific, OS theme, Telerik theme?
6)  I can't provide you the solution as it's confidential and you'd need to sign NDA etc. etc.

I can't be sure, but try using A LOT of SampleData defined in the App.xaml (VB.NET) to help simulate the slowness.  You are will need to have the IDE setup to run split screen with the XAML and Designer showing.  I want to be clear, I know this performance issue is NOT entirely Telerik's issue as Microsoft have admitted (via Connect MSDN) that they are aware of performance problems in VS 2010 IDE with XAML and Designer ... but on a fast system like I have it's "workable" if I turn the designer OFF.  With Telerik controls referenced it just becomes almost unusable.  I wish I could pin point a specific control/activity, but I can't ... sometimes it will work reasonably well (performance wise) then I edit some code behind and return to the XAML/Designer and it'll be back to being VERY slow.

When I say slow, I mean I'll be typing in XAML and will not see what I typed for atleast 3 seconds, or if I just scroll up/down thru the XAML it will take 10 seconds before I see the current cursor position.  Again, you need to have the Designer ON in split screen with the XAML to see just how bad/slow it can get.

Rob

Cheers, Rob.
0
Hristo
Telerik team
answered on 16 Apr 2012, 09:01 AM
Hello Rob,

I've created a Silverlight project with huge xaml but the designer stayed responsive. I believe your case is a bit more specific and I'm shooting in the dark while trying to simulate it.

Could you try to modify your solution in order to provide us a sample without the confidential stuff?

The issue you describe should be related to the Silverlight projects and more specifically with the currently opened xaml file you are editing. I think the issue should be still reproducible if you isolate the Silverlight part of the solution in another solution without the confidential data and without the 12 .Net projects.

In order to validate my suggestion you could unload projects except the one with currently opened xaml file and check if the editor is responsive or not. If my thesis is right you should observe performance degradation with unloaded .Net projects.

On a side note, I just wanted to encourage you to take advantage of the support ticketing system (http://www.telerik.com/account/support-tickets/new-support-ticket.aspx) in cases when you need a prompt response to urgent issues. This is the best way to reach our support staff and attach sample solutions.

Regards,
Hristo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Iman
Top achievements
Rank 1
answered on 03 Jul 2012, 05:43 AM
having same problem , in almost same situation!
but i think i have this problem in case of a xaml containing a DorpDownButton with telerik components in DropoDownContent.
when i open the xaml file in split mode , and as it shows dropdowncontent in the right top of the xaml page, HD becomes busyb busy, and more busy , until PC hangs and i cant do anything
0
Iman
Top achievements
Rank 1
answered on 03 Jul 2012, 05:44 AM
and also after 20-30 minutes my VS2010 shuts down! and i have no idea about that.
but if i changed the IDE from showing split mode to just xaml code, it has no problem
0
Simon
Top achievements
Rank 1
answered on 24 Sep 2012, 06:04 AM
I have same problem after switching to the Binaries.NoXaml. Was working fine for 4 years! Now it's unbelievably slow to save / view XAML files - about 30secs to save.
Prior to this machine was really really fast i7. It's only with XAML files - .cs saving / editing is fine.
We too have a large system with many projects. Will move back to old binaries with inbuilt XAML to see if that fixes it. Perhaps it's the number of XAML files that I now have to include in the solution as Themes, as a result of using the NoXaml Xaml binaries?
We're using Resharper, SL 5 and also have had to stop using Blend. 
Frustrating!
Tags
General Discussions
Asked by
Rob Ainscough
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Rob Ainscough
Top achievements
Rank 1
Iman
Top achievements
Rank 1
Simon
Top achievements
Rank 1
Share this question
or