Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram.IsLicensed takes a long time to execute (Read 2428 times)
milosa
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Mar 16th, 2017
Diagram.IsLicensed takes a long time to execute
Jul 5th, 2018 at 3:29pm
Print Post  
Hello,

I have the large diagram, 210 ContainerNodes, each having ~10 ShapeNodes and ~10 links.

When I add the new node on the diagram it is very slow for me so I was doing the profiling of that execution and the output from the profiler I send as an attachment.

It shows that 80% of the time is spent in the ArrangeOverride method where 74% is spent in the IsLicensed getter.

Do you have an idea how to resolve this?

Best regards,
Milos

  

mindfusion_islicensed.png ( 75 KB | 106 Downloads )
mindfusion_islicensed.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Diagram.IsLicensed takes a long time to execute
Reply #1 - Jul 5th, 2018 at 6:10pm
Print Post  
This build caches some results and should avoid the attribute calls shown in the chart -
https://mindfusion.eu/_temp/wpfdiag_attr.zip

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
milosa
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Mar 16th, 2017
Re: Diagram.IsLicensed takes a long time to execute
Reply #2 - Jul 6th, 2018 at 1:50pm
Print Post  
Hello Slavcho,

This actually seem to bring a drastic improvement for the performance in the big diagrams.

When can we get the proper release (with a nuget package) including the fix?

Best regards,
Milos
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Diagram.IsLicensed takes a long time to execute
Reply #3 - Jul 9th, 2018 at 11:51am
Print Post  
Hi,

We won't be releasing soon but will try to publish this build as a nuget update.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
milosa
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Mar 16th, 2017
Re: Diagram.IsLicensed takes a long time to execute
Reply #4 - Jul 11th, 2018 at 6:25am
Print Post  
So if you can write here when the new nuget package is available it would be great.

Thanks!
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Diagram.IsLicensed takes a long time to execute
Reply #5 - Jul 13th, 2018 at 8:22am
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint