HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adamchainz

no profile record

comments

adamchainz
·6 miesięcy temu·discuss
OP here. Thanks.

Yeah, profilers are very varied in Python, and none are super easy. I often use either cProfile + pstats (per this post: https://adamj.eu/tech/2025/05/20/python-quick-cprofile-recip...), cProfile + gprof2dot (per this post: https://adamj.eu/tech/2024/03/23/django-optimizing-system-ch... ) or py-spy. I'm excited for "tachyon", the sampling profiler coming in Python 3.15.
adamchainz
·6 miesięcy temu·discuss
Oh cool! Do you have any code for that? Sounds super useful for projects like Django…
adamchainz
·7 miesięcy temu·discuss
django-tasks is the reference implementation for django.tasks, by the same author. It's up for discussion if and when the DatabaseBackend gets merged, and it seems likely to me that a Redis-based backend would be suggested at some point. It takes time and energy though!
adamchainz
·7 miesięcy temu·discuss
OP here, thanks for the praise!

Yeah, I mentioned Celery due to its popularity, no other reason ;)