waste_lens 0.1.1
waste_lens: ^0.1.1 copied to clipboard
Live in-app detector for wasted Flutter work — dead rebuilds, redundant API calls, memory leaks, and memory pressure. Debug/profile only, a no-op in release.
0.1.1 #
- Export
Sparkline, the dependency-free mini line-chart used by the overlay, so apps can reuse it for their own diagnostics widgets.
0.1.0 #
Initial release.
WasteLensroot widget with a verified zero-overhead release no-op (gated bykDebugMode || kProfileMode).DiagnosticsBus+ rollingWasteAggregatesevent hub.- Memory module: RSS sampler, image-cache probe, and best-effort VM-service
allocation profiler (
WasteLens.snapshot()). - Leak module:
LeakWatcherover the officialleak_tracker, plus aDisposeGuardmixin for custom disposables. - Dead rebuilds: Tier A
RebuildChurnTracker(zero-config churn) and Tier BDeadRebuildProbe(proves a rebuild produced identical output). - Draggable diagnostics overlay with per-module tabs and sparklines.
- Optimization helpers:
AutoDisposeMixin,imageCacheTuner. WasteLens.exportReport()JSON aggregate for CI artifacts.