Python profiler : http://docs.python.org/library/profile.html
You need to boot your app and call your function with the profiler and you will have detail of time for all the task and subtask that your function invoque... Richard On Thu, Jul 28, 2011 at 2:29 PM, Andrew Thompson <[email protected]>wrote: > On 7/28/2011 1:59 PM, pbreit wrote: > >> It seems like that would be a code issue. Is there anything in your models >> or controllers that looks suspicious? >> > > This was my first project in python, so I am sure most of it looks > suspicious. Only one of the app/controller/*.py files has been touched this > year, back in March. > > I use this app once a month. It was fine last month. > > Is there any way to get a profile of where web2py's spending it's time? > > > -- > Andrew Thompson > http://aktzero.com/ > >

