-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Description
For sufficiently complex process graphs, the dry run becomes the bottleneck.
The dry run does not yet perform caching, because this was deemed safer, especially to determine correct 'source constraints' in complex graphs.
I'll put the actual graph in a PR.
The profiler also shows some hotspots:

In addition, I noticed that the test takes a large amount of memory, I had to limit it on process level to stop my IDE from crashing. Removing some debug logging did help, so it could be related to pytest feature of capturing logs (in memory).
If I disable logging, the pure process graph evaluation does run in under 1 minute. Now the 'get_source_constraints' seems to be the problem.