waste_lens 0.1.1 copy "waste_lens: ^0.1.1" to clipboard
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.

  • WasteLens root widget with a verified zero-overhead release no-op (gated by kDebugMode || kProfileMode).
  • DiagnosticsBus + rolling WasteAggregates event hub.
  • Memory module: RSS sampler, image-cache probe, and best-effort VM-service allocation profiler (WasteLens.snapshot()).
  • Leak module: LeakWatcher over the official leak_tracker, plus a DisposeGuard mixin for custom disposables.
  • Dead rebuilds: Tier A RebuildChurnTracker (zero-config churn) and Tier B DeadRebuildProbe (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.
5
likes
160
points
250
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues
Contributing

Topics

#performance #profiling #debugging #memory

License

MIT (license)

Dependencies

collection, flutter, leak_tracker, meta, vm_service

More

Packages that depend on waste_lens