Performance

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mcpang
Newbie
Newbie
Posts: 15
Joined: Wed Mar 31, 2010 12:00 am

Performance

Post by mcpang » Fri Apr 30, 2010 7:23 am

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.
Attachments
TChart performance.zip
(109.52 KiB) Downloaded 467 times

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Performance

Post by Yeray » Mon May 03, 2010 8:11 am

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);
        }
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

mcpang
Newbie
Newbie
Posts: 15
Joined: Wed Mar 31, 2010 12:00 am

Re: Performance

Post by mcpang » Fri May 07, 2010 8:46 am

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.
Attachments
tchart performance issue.zip
(360.32 KiB) Downloaded 483 times

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Performance

Post by Yeray » Fri May 07, 2010 3:33 pm

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 5213 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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply