Page 1 of 1

Slow performance when using Gantt

Posted: Wed May 21, 2014 2:03 pm
by 15669273
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

Re: Slow performance when using Gantt

Posted: Wed May 21, 2014 2:14 pm
by Christopher
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.

Re: Slow performance when using Gantt

Posted: Wed May 21, 2014 3:38 pm
by 15669273
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

Re: Slow performance when using Gantt

Posted: Wed May 21, 2014 3:54 pm
by 15669273
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

Re: Slow performance when using Gantt

Posted: Wed May 21, 2014 4:55 pm
by Christopher
Yossi wrote: Can you take a look at it?
What happens when you set ConnectingPen.Visible = false ?

Re: Slow performance when using Gantt

Posted: Thu May 29, 2014 7:21 am
by 15669273
Christopher,

This seemed to have reduce the running time by half!

Thanks!
Yossi