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.
Performance
Performance
- Attachments
-
- TChart performance.zip
- (109.52 KiB) Downloaded 471 times
Re: Performance
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).
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Performance
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.
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 485 times
Re: Performance
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. 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.
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. 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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |