Benjamin Lau
unread,Dec 2, 2012, 5:38:10 PM12/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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