jason810496 commented on PR #59805: URL: https://github.com/apache/airflow/pull/59805#issuecomment-3712964731
> Assuming this is related to the time that plugin manager needs to initialize 97 providers when running in breeze? Or have you checked where the most time still is spend? This is the part where skipping `_correctness_check` comes to play. Before skipping the `_correctness_check`, we **will import all the available executors for every CLI command called!** ( I used `py-spy` to check the most time-wasting part as well. Before the refactor, importing those heavy modules take most of the time. After the refactor, yes, the `import airflow` take most of the time as Jarek described ) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
