- Welcome, Guest. Please Login or Register
MindFusion  
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Diagram.IsLicensed takes a long time to execute
Read 246 times

milosa   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


   
     
 
Diagram.IsLicensed takes a long time to execute
Jul 5th, 2018 at 4:29pm
 
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

 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1513
Gender: male
tech.support


   
     
 
Re: Diagram.IsLicensed takes a long time to execute
Reply #1 - Jul 5th, 2018 at 7:10pm
 
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
 
 
 
IP Logged    
 
     

milosa   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


   
     
 
Re: Diagram.IsLicensed takes a long time to execute
Reply #2 - Jul 6th, 2018 at 2:50pm
 
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
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1513
Gender: male
tech.support


   
     
 
Re: Diagram.IsLicensed takes a long time to execute
Reply #3 - Jul 9th, 2018 at 12:51pm
 
Hi,

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

Regards,
Slavcho
 
 
 
IP Logged    
 
     

milosa   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


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

Thanks!
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1513
Gender: male
tech.support


   
     
 
Re: Diagram.IsLicensed takes a long time to execute
Reply #5 - Jul 13th, 2018 at 9:22am
 
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print