Skip to content

How can I diagnose startup time for my job between the Kubernetes run worker job created and the Started execution of run steps? #18190

Answered by gibsondan
dagsir[bot] bot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gustavo-delfosim - i think this is indeed likely the time it takes to import your Python module with your definitions in it, as that's the main work that's happening during this time period.

Using py-spy is one tool that can help here: #14771

Splitting things into more code locations is another option, as the run will only need to load the code location in which its ops or assets are in.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gibsondan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants