-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I using SourceGraph (actually the @utdemir fork, so it'll build) some parser code that I've written to try to identify recursive loops in the type graph and call graph. I seems that I'm managing to throw SourceGraph into an infinite loop, as processing never completes (24 hours later, still going, no files written to SourceGraph/graphs apart from the legend PNGS and a zero length code.dot).
I think it's getting lost in code associated with finding cycles and cliques. Profiling shows this:
COST CENTRE MODULE %time %alloc
pathTree.subPathTree Data.Graph.Analysis.Algorithms.Common 51.9 53.5
pathTree.g' Data.Graph.Analysis.Algorithms.Common 32.7 36.4
pathTree Data.Graph.Analysis.Algorithms.Common 4.0 5.0
makeLeaf.p' Data.Graph.Analysis.Algorithms.Common 3.1 3.1
pathTree.sucs Data.Graph.Analysis.Algorithms.Common 3.1 0.4
I've attached a full profile from the first five minutes of running.
SourceGraphProf.zip
Any suggestions on how I can get around this problem?
Metadata
Metadata
Assignees
Labels
No labels