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
Slow performance when using Gantt
Slow performance when using Gantt
- Attachments
-
- TestTChart.zip
- (19.82 KiB) Downloaded 553 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Slow performance when using Gantt
Hello Yossi,
Please let me know if this helps at all with your situation.
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.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+)
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 |
Re: Slow performance when using Gantt
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
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
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
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
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Slow performance when using Gantt
What happens when you set ConnectingPen.Visible = false ?Yossi wrote: Can you take a look at it?
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 |
Re: Slow performance when using Gantt
Christopher,
This seemed to have reduce the running time by half!
Thanks!
Yossi
This seemed to have reduce the running time by half!
Thanks!
Yossi