Releases: amzker/loopsentry
Releases · amzker/loopsentry
v1.1.1 : Per-Core CPU, Grouped HTML Report, Load Tester
v1.0.0 : HTML Reports, Async Threshold & CLI Overhaul
LoopSentry v1.0.0
The first major release: LoopSentry is now a complete asyncio performance analysis toolkit.
What's New
Standalone HTML Reports
-
loopsentry analyze -d logs/ --htmlgenerates a zero-dependency, self-contained HTML report -
Dark premium UI with stat cards, event timeline, sortable/filterable table
-
Expandable detail rows with smart stack traces, captured variables, CPU/memory/GC metrics
CSV Export
loopsentry analyze -d logs/ --csvexports all event data for external analysis- Includes CPU%, memory, GC generations, thread count, stack traces, and arguments
Separate Async Threshold
- New
async_thresholdparameter — set independent sensitivity for slow async task detection - Blocking threshold and async threshold are now fully decoupled
Async Task Traceback & Arguments
- Stack traces now captured at task creation time (before frames are destroyed)
- Function arguments captured for async bottleneck events
- Exception info (type, message, full traceback) recorded if a slow task fails
GC Stats
- Garbage collector generation counts (Gen0, Gen1, Gen2) captured per event
Improved CLI
- Removed
cleancommand to prevent accidental log deletion - Added
--html,--csv,--sort,-oflags - TUI now shows Type, CPU%, Memory columns
- 5 sort modes: time, duration, cpu, memory, type
Example App
- Complete FastAPI demo app with realistic blocking patterns (sync DB, CPU hashing, sync HTTP, blocking sleep)
- Load test script that exercises every endpoint
Breaking Changes
loopsentry cleancommand has been removed
Installation
uv add loopsentryOR
pip install loopsentry