1

I've a django app which runs some asynchronous tasks in the background with celery. I'd like to profile the tasks running inside the celery worker. I found these questions but they weren't very useful. How do I profile a specific celery task in a django app?

Judy T Raj
  • 1,755
  • 3
  • 27
  • 41

1 Answers1

1

I assume you can solve your issue with this package https://pypi.org/project/django-cprofile-middleware/

Moreover ref this to understand basics of profiling http://www.gilles-bertrand.com/2012/11/profiling-python-code-with-celery.html?m=1