Graphviz Issue Tracker - graphviz
View Issue Details
0002578graphvizDotpublic2015-11-11 14:252015-11-11 14:25
ddenisen 
 
normalminoralways
newopen 
LinuxCentOS 6.4
2.38.0
0002578: Expensive runtime check with splines=ortho setting
A graph that takes a few seconds with default splines takes >10 minutes with ortho edges. I ran VTune on the code and found that vast majority of the time was spent in this function:

void
PQcheck (void)
{
  int i;
  for (i = 1; i <= PQcnt; i++) {
    if (N_IDX(pq[i]) != i) {
      assert (0);
    }
  }
}

When I made the function empty, the rendering became fast again.
Run "dot -Tpng system.dot -O" on build 2.38.0. This will take about 10 minutes on a very fast desktop machine.
When it works, the rendering is awesome! Thanks for the great tool.
No tags attached.
dot system.dot (63,003) 2015-11-11 14:25
http://www.graphviz.org/mantisbt/file_download.php?file_id=493&type=bug
Issue History
2015-11-11 14:25ddenisenNew Issue
2015-11-11 14:25ddenisenFile Added: system.dot

There are no notes attached to this issue.