I was looking to find where our code spends all its time, and tried Profile.print(). It gave me a few thousand lines of output. I am sure the answer to my query is in there, but I don’t know where to start looking for the lines that take all the time.
I see there are wonderful graphical ways to process this, but I am stuck on the command line, with no graphics.
So my question. Can anyone tell me how to find out from Profile.print() which lines my code is spending all its time.
Thats nice! But sadly can only see graph only on my laptop and not the machine I need to run it on, which has no gui. A bit hard to map the mountain peak to a particular code line below though.
not being an expert, seems like grepping this for my file names is the way to find where my code spends its time. But that seems so obvious it cannot be correct.