Profiling an ajax application

7 views
Skip to first unread message

Benjamin Lau

unread,
Dec 2, 2012, 5:38:10 PM12/2/12
to we...@googlegroups.com
I'm working on a tool for interacting with git. One of the problems I'm running into is that some of the calls which are making use of git are slow and I want to figure out which calls are causing the trouble. When I try and enable the profiler (web.profiler) using:

if __name__ == "__main__":
    app = web.application(urls, globals(),web.reloader)
    app.run(web.profiler)
 
There never seems to be any output produced by this. Is there something I need to do in my handler to make it show the profiling data? I thought this was just dumped into the html output? I'm using genshi templates for some of my handlers and dumping raw json data (return json.dumps(variable)) for others... but I don't see any sign of the profiler output.

What am I doing wrong?

Thanks,

Ben
Reply all
Reply to author
Forward
0 new messages