HackerTrans
トップ新着トレンドコメント過去質問紹介求人

adamchainz

no profile record

コメント

adamchainz
·6 か月前·議論
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 か月前·議論
Oh cool! Do you have any code for that? Sounds super useful for projects like Django…
adamchainz
·7 か月前·議論
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 か月前·議論
OP here, thanks for the praise!

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