librelist archives

« back to archive

Flask profiling

Flask profiling

From:
Axel Hansen
Date:
2010-10-23 @ 21:48
Hi everyone,

I'm working on a web app in flask and am having scaling issues, so I'd like
to profile my app to find the bottlenecks.  What's the best way to do this?
 Has anyone used repoze.profile or other wsgi middleware to profile a flask
app?

Thanks!
Axel

Re: [flask] Flask profiling

From:
Tijmen Mulder
Date:
2010-10-24 @ 08:14
There is a  WSGI profiler middleware in werkzeug.
http://werkzeug.pocoo.org/documentation/dev/contrib/profiler.html

Maybe that helps.

On Sat, Oct 23, 2010 at 11:48 PM, Axel Hansen <axel.r.hansen@gmail.com> wrote:
> Hi everyone,
> I'm working on a web app in flask and am having scaling issues, so I'd like
> to profile my app to find the bottlenecks.  What's the best way to do this?
>  Has anyone used repoze.profile or other wsgi middleware to profile a flask
> app?
> Thanks!
> Axel