Slow performance when using Gantt

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Yossi
Newbie
Newbie
Posts: 8
Joined: Mon May 19, 2014 12:00 am

Slow performance when using Gantt

Post by Yossi » Wed May 21, 2014 2:03 pm

Hi,

We are trying to upgrade a project we have previously made in VB and used your COM components to WPF and we are having seriously performance issues when the screen have a lot of Gantt entries (1000+)

I've attached a sample application that demonstrate the issue.

Regards,
Yossi
Attachments
TestTChart.zip
(19.82 KiB) Downloaded 553 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Slow performance when using Gantt

Post by Christopher » Wed May 21, 2014 2:14 pm

Hello Yossi,
Yossi wrote: We are trying to upgrade a project we have previously made in VB and used your COM components to WPF and we are having seriously performance issues when the screen have a lot of Gantt entries (1000+)
Performance of native WPF rendering is notoriously slow. In order to improve this situation, Steema has a new TeeChart.WPFDirect2D.dll assembly in beta which you can download from here.

Please let me know if this helps at all with your situation.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Yossi
Newbie
Newbie
Posts: 8
Joined: Mon May 19, 2014 12:00 am

Re: Slow performance when using Gantt

Post by Yossi » Wed May 21, 2014 3:38 pm

Christopher ,

We have a lot of code we need to convert in order to support the new TeeChart.WPFDirect2D assembly. In addition, when using other objects such as points (non-gantt), the performance is somewhat acceptable.

Are you sure nothing can be done on your end in order to optimize this specific scenario ?

Regards,
Yossi

Yossi
Newbie
Newbie
Posts: 8
Joined: Mon May 19, 2014 12:00 am

Re: Slow performance when using Gantt

Post by Yossi » Wed May 21, 2014 3:54 pm

Christopher,

In addition, I've just tested the new Direct2D on the sample I've prepared for you, and it didn't solve the issue.

When looking at the profiler, i can see the problem is at the class "Steema.TeeChart.WPFDirect2D.Styles.Gantt" and its member function: DrawValue(int valueIndex)

This function calls MultipleNextTasks over 1 Billon calls which slows the rendering function.

Can you take a look at it?

Regards,
Yossi

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Slow performance when using Gantt

Post by Christopher » Wed May 21, 2014 4:55 pm

Yossi wrote: Can you take a look at it?
What happens when you set ConnectingPen.Visible = false ?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Yossi
Newbie
Newbie
Posts: 8
Joined: Mon May 19, 2014 12:00 am

Re: Slow performance when using Gantt

Post by Yossi » Thu May 29, 2014 7:21 am

Christopher,

This seemed to have reduce the running time by half!

Thanks!
Yossi

Post Reply