Re: Profiler for long-running application

2015-02-09 Thread Asad Dhamani
running quite fast, > then I'd suggest that the majority of the time is being lost in transferring > the task to the Celery node. > > Cheers > > > On Mon Feb 09 2015 at 5:20:43 AM Asad Dhamani wrote: > I have a Flask application where I run a specific task

Profiler for long-running application

2015-02-08 Thread Asad Dhamani
I have a Flask application where I run a specific task asynchronously using Celery. Its basically parsing some HTML and inserting data into a Postgres database(using SQLAlchemy). However, the task seems to be running very slowly, at 1 insert per second. I'd like to find out where the bottleneck