https://pytest-benchmark.readthedocs.io/en/latest/
https://docs.python.org/3/library/profile.html
python -m cProfile -o reports/worker-health.profile -m pdm worker:health
https://pypi.org/project/pytest-profiling/
https://github.com/jrfonseca/gprof2dot
https://jiffyclub.github.io/snakeviz/
https://github.com/jiffyclub/snakeviz
snakeviz reports/command.profile
https://github.com/nschloe/tuna
snakeviz reports/command.profile
https://github.com/gaogaotiantian/viztracer https://viztracer.readthedocs.io/en/latest/
https://github.com/joerick/pyinstrument
pyinstrument --from-path pdm command
2023-10-18T22:44:11.873098Z [info ] Configure structlog [logging] mode=DEV
2023-10-18T22:44:11.873250Z [error ] Celery Worker heartbeat file NOT found. [scripts.celery]
_ ._ __/__ _ _ _ _ _/_ Recorded: 00:44:10 Samples: 593
/_//_/// /_\ / //_// / //_'/ // Duration: 1.558 CPU time: 0.563
/ _/ v4.6.0
Program: [...]/.venv/bin/pyinstrument --from-path pdm command
https://github.com/dfeneyrou/palanteer
https://bloomberg.github.io/memray/
https://github.com/bloomberg/pytest-memray
https://github.com/pythonprofilers/memory_profiler
https://github.com/CFMTech/pytest-monitor
https://www.brendangregg.com/flamegraphs.html
https://github.com/brendangregg/FlameGraph