Porting 16 BLoC & Signal Benchmark Apps to BlocSignal: Elevating Flutter UX & DX

2026年8月2日2 次浏览来源:Dev.to阅读原文

🚀 Ported Example Benchmark Suite Live on !

If you’ve been evaluating —the monorepo package bridging the predictable event-driven BLoC architecture with Rody Davis's reactive signals v7 primitives—we’ve got something big to share.

We just launched a dedicated Ported Example Suite containing 16 full-featured, runnable benchmark applications adapted directly from the official (10 apps) and (6 apps) example repositories. 🌐 Explore the Live Benchmark Suite: https://blocsignal.dev/ported-examples 💡 Why Port These Benchmark Apps?

State management benchmarks are best understood through real-world applications.

By porting these established examples 1-to-1, developers can compare side-by-side with original implementations to see concrete architectural benefits:

1.

Synchronous Frame Updates (Better Test DX) In classic BLoC, state updates propagate asynchronously over microtask streams.

In , updates state synchronously on the exact same frame.

This eliminates microtask queue latency, making widget building feel instant and allowing unit tests to assert without or stream delays.

2.

Reactive Derivations (Zero Event Plumbing) In complex apps like Todos or Dynamic Forms, classic BLoC often requires dispatching intermediate filter events or wiring up .

With , you declare right inside the constructor.

When state changes, downstream signals derive updated values reactively and lazily.

3.

Streamless Event Concurrency Transformers (Lower Overhead) Event concurrency transformers (, , ) in are implemented as streamless higher-order functions using pure Dart locks.

You get full request-cancellation and debouncing capabilities (e.g. in GitHub Search) with zero RxStream memory allocations. 📦 What's Included in the Suite?

Ports from (10 Applications) ⏱️ — Ticker countdown with pause/resume & automatic teardowns 📝 — Flagship Todo CRUD app with reactive filters & stats 🌦️ — Weather search with temperature toggle & cross-cubit theme driving 🔀 — Cascading vehicle dropdowns (Brand $\rightarrow$ Model $\rightarrow$ Trim) 🪄 — Multi-step registration flow with step validation signals ✅ — Synchronous real-time input field validation ⚡ — Interactive execution timeline for streamless transformers 🔍 — Debounced repository search using 📋 — Multi-selection list, batch deletion & rebuilds 🌊 — Stream interop via & Ports from (6 Applications) 🧮 — Expression parsing & arithmetic state machine 🎨 — Reactive RGBA color swatches & slider composition 🔌 — Service locator DI integration with ⏳ — Async state handling (, , ) 🏗️ — 3-tier Presentation / Domain / Data architecture 💾 — State hydration with Each card on blocsignal.dev/ported-examples features dual direct links pointing to both our monorepo source code and the original upstream source code on GitHub.

Check out the benchmark suite and let us know what you think! ⭐️ 🔗 https://blocsignal.dev/ported-examples

分享