Hi,
It is really difficult to help you just with a profile and without looking at 
your code.
Even though, I have noticed that most of the time is used on calculating 
properties related to CompositeShapes (like position and encompassing 
rectangle).

Would be possible for you to run the same code but replacing the CompositeShape 
by another less complex shape (like RTBox)?
If this new experiment is fast, then the problem would be those 2 properties 
(position and encompassing rectangle) are too expensive, and therefore we 
should think how to optimize that code.

I know that ForceLayout is not the fastest layout, but 59 seconds is too much 
for just 13 elements.

Cheers,
Alejandro

> On Dec 7, 2015, at 5:26 PM, Pablo Polanco <parop...@gmail.com> wrote:
> 
> Hello, we are Pablo Polanco and Jorge Ampuero and we are Computer Science 
> students at Universidad de Chile.
> 
> We are currently taking a course on Robotics Software Engineering dictated by 
> Johan Fabry.
> 
> We want to visualize a simple directed graph and we are experiencing 
> performance issues when layouting our visualization in Roassal.
> 
> We provide the report from the Time Profiler when we visualize 13 elements 
> and 38 edges: http://pastebin.com/zsh8YFPx <http://pastebin.com/zsh8YFPx>
> 
> Should it take so much time? How could we improve it? Is there another more 
> appropriate layout?
> 
> Thanks in advance :)
> 
> <Screenshot from 2015-12-07 17:23:05.png>
> ​

Reply via email to