I think this is probably super vague, but are there any guidelines or best practices on troubleshooting long running times?
In short, i have a piece of python code, that queries database, calculates a bunch of different statistics and outputs the dataframe to a file.
On average it takes around 3 mintues to execute. I translated it into metaflow step, without any changes to the code and i call it the same way in metaflow as I would do as a standalone and it takes more than 20 minutes.
How should i approach the troubleshooting of the main difference between those two executions? They are both executed on local machine.