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

Terrible Performance in Q3

3 Answers 144 Views
Map
This is a migrated thread and some comments may be shown as answers.
RKM
Top achievements
Rank 1
RKM asked on 28 Nov 2010, 12:56 PM
I just downloaded the WPF Q3 trial, to determine whether RadMap might finally be hostable inside WinForms.

Good news..  RadMap Q3 finally has the capability.

Bad news..  Simply running in WPF, the demo app that ships with the solution .. Q3 is *much* slower than either Q1 or Q2 of the 2010 release.

This is a *huge* difference.  It's gone from real-time response, to a lag of 5 seconds to zoom in/out.

I've tested this on 3 different machines (all Intel i5's with 4 to 8GB RAM and NVIDIA graphics cards (1x 9800, 1x 210, 1x 240 .. all of these are 2009 or later models).

In every single test, the new Q3 version is 400% or more slower than Q2.  In addition, I noticed that the CPU of the machines will not reach more than 15% (approx) while in Q1, Q2 I would regularly see the CPU hit 40% when moving rapidly around the map.

Will this be fixed in Q4, or will there be a hotfix to address the problem?

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 30 Nov 2010, 02:35 PM
Hi RKM,

Thank you for contacting us.

We have forwarded your feedback to our developers and we will do our best to address the problem as soon as possible. You can track the progress of this issue in our public issue tracking system here: http://www.telerik.com/support/pits.aspx#/public/silverlight/4181


Sincerely yours,
Andrey Murzov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
RKM
Top achievements
Rank 1
answered on 30 Nov 2010, 02:45 PM
You've logged this under Silverlight.  This should be logged under WPF.

In addition, I've located another error.  When minimizing the Telerik RadMap when hosted in Winforms, the CPU will max, memory will rapidly leak, and crash within 2 minutes.
0
Andrey
Telerik team
answered on 03 Dec 2010, 02:46 PM
Hi RKM,

Thank you for the information.
We were able to reproduce the problem. We will put our efforts on it right now.
You can track it using the following link:
http://www.telerik.com/support/pits.aspx#/public/silverlight/4213

The problem is happening when the Dock property of element host is assigned to Fill. As workaround you can handle the form resize event and change the Dock property to None when the form is minimized.
The sample code is below.

private DockStyle elementHostDockStyle;
private bool elementHostDockStyleIsSaved;
private void Form1_Resize(object sender, EventArgs e)
{
    if (this.WindowState == FormWindowState.Minimized)
    {
        this.elementHostDockStyle = this.elementHost1.Dock;
        this.elementHostDockStyleIsSaved = true;
        this.elementHost1.Dock = DockStyle.None;
    }
    else if (elementHostDockStyleIsSaved)
    {
        this.elementHost1.Dock = this.elementHostDockStyle;
    }
}

Kind regards,
Andrey Murzov
the Telerik team

Browse the videos here>> to help you get started with RadControls for WPF
Tags
Map
Asked by
RKM
Top achievements
Rank 1
Answers by
Andrey
Telerik team
RKM
Top achievements
Rank 1
Share this question
or