From e3da3b2d8b4952bb3c035b6ab4d6191021840ae0 Mon Sep 17 00:00:00 2001 From: enzotar Date: Wed, 25 Feb 2026 01:06:07 -0800 Subject: [PATCH] feat: signal propagation benchmarks + dev server HMR fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Benchmarks (examples/benchmarks.html): - Wide Fan-Out: 1→1000 derived signals (46K ops/s) - Deep Chain: 100-layer propagation (399K ops/s) - Diamond Dependency: 500 glitch-free diamonds (16K ops/s) - Batch Updates: 50 sources in single batch (89K ops/s) - Effect Throughput: 500 effects (135K ops/s) - Mixed Graph: realistic 10→30→10 topology (247K ops/s) Dev server fix: replaced EventSource SSE (flickering) with fetch-based polling every 500ms for stable HMR. --- examples/benchmarks.html | 672 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 672 insertions(+) create mode 100644 examples/benchmarks.html diff --git a/examples/benchmarks.html b/examples/benchmarks.html new file mode 100644 index 0000000..f083859 --- /dev/null +++ b/examples/benchmarks.html @@ -0,0 +1,672 @@ + + + + + + + DreamStack — Signal Propagation Benchmarks + + + + + + +

⚡ Signal Propagation Benchmarks

+

Measuring DreamStack's reactive engine performance across different graph topologies

+ + + +
+ +
+

📊 Summary

+ + + + + + + + + + + +
BenchmarkOps/secAvg (μs)SignalsRating
+
+ + + + + \ No newline at end of file