I'm writing code to build a graph of 2500 nodes with an average of 5 edges per node. Calling builder.initialize() takes a very long time.
I used YourKit to capture CPU profiling data for the first 5 minutes of building the graph, YourKit tells me that 82% of the time is spent in GraphBuilderImpl.addEdge. 33% is spent in GraphDataMaps.getNodeDataMap. 25% (of total runtime) is spent just in Class.getInterfaces and Class.getSuperclass. Is there something I can do to speed it up? Also, do you recommend a particular layouter for a graph this large and sparse?
Also, this API could realllly use some javadoc. It hasn't been super difficult to wade through the API but I get the impression that I'm not getting the most out of it because I don't know what half the methods do.