orchestrator-core icon indicating copy to clipboard operation
orchestrator-core copied to clipboard

[Improvement]: Improve CLI startup time

Open Mark90 opened this issue 5 months ago • 1 comments

Running a command as simple as python main.py db --help takes 1 second in a small codebase like the example-orchestrator. In SURF's orchestrator repository it takes between 5 and 8 seconds.

Investigate what the main slowdown is (likely the product/workflow imports) and how this could be improved.

Mark90 avatar Jul 29 '25 15:07 Mark90

(very) Partially done with splitting off main.py to wsgi.py, although docs need to be updated on that (#1152)

On a related note it will be interesting to track the progress of https://peps.python.org/pep-0810/ in the future which should land in 3.15

Mark90 avatar Nov 11 '25 09:11 Mark90