Skip to content

dry run slow for complex process graph #426

@jdries

Description

@jdries

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:

Image

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.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions