Some profiling of R# 5.1 XAML performance

Hi,

I'm having some huge slowdowns when I have some XAML open. I had the problem in 5.0 and its still around in 5.1 (Build 5.1.1707.19 on 2010-06-09T22:40:28). I've uploaded a profile (profile 2.7z to your ftp site/.upload) using dotTrace while I was getting freezes of several seconds while trying to navigate around an XAML file. The performance problems go away when I disable R#.

I'm hoping that the profiles might expose the problem I'm having so that it can be fixed or maybe there's some setting I can disable to fix the performance problems. I love using R# but the freezes are infuriating ;)

8 comments
Comment actions Permalink

Hello Geoff,

Thank you very much for reporting this problem! We will take a look at the
snapshot. Meanwhile, could you please tell us exactly which actions did you
perform while taking this snapshot?

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

I'm having some huge slowdowns when I have some XAML open. I had the
problem in 5.0 and its still around in 5.1 (Build 5.1.1707.19 on
2010-06-09T22:40:28). I've uploaded a profile (profile 2.7z to your
ftp site/.upload) using dotTrace while I was getting freezes of
several seconds while trying to navigate around an XAML file. The
performance problems go away when I disable R#.

I'm hoping that the profiles might expose the problem I'm having so
that it can be fixed or maybe there's some setting I can disable to
fix the performance problems. I love using R# but the freezes are
infuriating

---
Original message URL:
http://devnet.jetbrains.net/message/5267180#5267180



0
Comment actions Permalink

I switch from a c# code tab to an xaml tab and then clicked on different lines in the XAML file, that was about it really. The cursor took ages to move to where I clicked.

0
Comment actions Permalink

Hello Geoff,

Thanks a lot for snapshot, investigating now! Can you tell us what you were
doing at that moment? It looks like WPF is spending all the time locating
UIElement to show tooltip. To confirm, could you please try the same scenario
with mouse in and mouse out of VS main window? If you move mouse out, does
it help with performance?  Thanks!

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Hi,
IR>
IR> I'm having some huge slowdowns when I have some XAML open. I had the
IR> problem in 5.0 and its still around in 5.1 (Build 5.1.1707.19 on
IR> 2010-06-09T22:40:28). I've uploaded a profile (profile 2.7z to your
IR> ftp site/.upload) using dotTrace while I was getting freezes of
IR> several seconds while trying to navigate around an XAML file. The
IR> performance problems go away when I disable R#.
IR>
IR> I'm hoping that the profiles might expose the problem I'm having so
IR> that it can be fixed or maybe there's some setting I can disable to
IR> fix the performance problems. I love using R# but the freezes are
IR> infuriating
IR>
IR> ---
IR> Original message URL:
IR> http://devnet.jetbrains.net/message/5267180#5267180


0
Comment actions Permalink

Hello,

Ah I see, so you can't test the same scenario with mouse out of VS :) How
large is your XAML file?

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> I switch from a c# code tab to an xaml tab and then clicked on
IR> different lines in the XAML file, that was about it really. The
IR> cursor took ages to move to where I clicked.
IR>
IR> ---
IR> Original message URL:
IR> http://devnet.jetbrains.net/message/5267187#5267187


0
Comment actions Permalink

30 KB, but I have the same problem with XAML files that are only a few lines long

0
Comment actions Permalink

Ilya,

In general R# is horrible with VS2010 + XAML/WPF - I can't spare the time to be filing memory dumps, etc, but the general experience is poor - the XML editor is horrible to use - just lots and lots of little issues which make it clear that JB is not really using this stuff themselves.

Could JetBrains find someone to spend internal to spend a couple of weeks writing a real WPF / MVVM application, and file bugs / traces for all the problems he encounters?

Will

0
Comment actions Permalink

Hello Will,

We do that, but personal styles are different and some experience may very
depending on what kind of application you are developing, how do you do this,
what principles and practices do you use. That's why it is important to listen
to your experience, and issues you come with. Our little issues would be
different from yours, definitly :)

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


WD> Ilya,
WD>
WD> In general R# is horrible with VS2010 + XAML/WPF - I can't spare the
WD> time to be filing memory dumps, etc, but the general experience is
WD> poor - the XML editor is horrible to use - just lots and lots of
WD> little issues which make it clear that JB is not really using this
WD> stuff themselves.
WD>
WD> Could JetBrains find someone to spend internal to spend a couple of
WD> weeks writing a real WPF / MVVM application, and file bugs / traces
WD> for all the problems he encounters?
WD>
WD> Will
WD>
WD> ---
WD> Original message URL:
WD> http://devnet.jetbrains.net/message/5267455#5267455


0
Comment actions Permalink

Ilya,

I take your point, and things like 'viewmodel public properties are marked as unused when they're only used by bindings' is clearly some way along the future features / personal preference space.

However, if you do have testers who *do* have a preference for stuttering edit performance, VS hangs and overlapping intellisense popups, could you please fire them and replace them with people who are more like the rest of us?  ;-)

Resharper/VS10/WPF development is not great at the moment - that's going to have to be faced up to at some point.


Will

0

Please sign in to leave a comment.