feat: add --cprofile flag for runtime profiling

Writes cProfile stats to a file on shutdown for performance analysis.
Enable in compose.yaml for container profiling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-21 16:54:29 +01:00
parent d13d090e8e
commit b8d8c22dc8
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@@ -15,6 +15,7 @@ build/
.pytest_cache/
.mypy_cache/
*.log
*.prof
# Personal config (keep example only)
config/bouncer.toml