Page 1 of 1

Performance

Posted: Fri Apr 30, 2010 7:23 am
by 15655558
Hi,

We had notice a performance drop of about 20% when I upgrade from TeeChart v2 to v2009.

For TeeChart v2, I am using .NET framework 2.0 while the v2009 version is using .NET framework 3.5.

The scenario is as follow:
1) Plot data using TeeChart v2 with .NET framework 2.0 (Fastline series).
2) Take note of CPU usage.
3) Plot the same set of data using TeeChart v2009 with .NET framework 3.5 (Fastline serious).
4) Take note of CPU usage.

Refer to attached images for CPU loads.

Do we need to perform any optimization when upgrading from v2 to v2009 to avoid this drop in performance? Thanks.

Re: Performance

Posted: Mon May 03, 2010 8:11 am
by yeray
Hi mvpang,

Can you please send us a simple example project we can run as-is to reproduce this performance drop here?
Here with the following code and scrolling the chart permanently, I see the same CPU usage (about the 26% in an Intel Core 2 Quad).

Code: Select all

        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;

            new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
            tChart1[0].FillSampleValues(100000);
        }

Re: Performance

Posted: Fri May 07, 2010 8:46 am
by 15655558
Hi,

Attached is the sample applications for both versions.

Do take note that I did not include both the binaries (v2 and v2009) for TeeChart.dll in the samples. We are doing the test base on a core 2 dual system running at ~2.8ghz with 2 gb ram but with the cpu affinity set to 1 for the respective sample application before starting the test.

Re: Performance

Posted: Fri May 07, 2010 3:33 pm
by yeray
Hi pang,

I can't see too much difference here with your application, comparing last v2 sources and the last v4.0.2010.13052.
On the other hand, you'll be interested on knowing that we've recently made some improvements in performance to the TeeChart for NET v2010 sources.
CPUusage.png
CPUusage.png (33.7 KiB) Viewed 5211 times
First peek: Last published TeeChart for NET v2 sources.
Second peek: Last published TeeChart for NET v2010 dll (v4.0.2010.13052).
Third peek: Latest TeeChart for NET v2010 sources.