Skip to content

docs: reacton cycle is fixed, update measured numbers to the merged state#1178

Merged
maartenbreddels merged 1 commit into
masterfrom
docs/post-reacton-fix-status
Jul 5, 2026
Merged

docs: reacton cycle is fixed, update measured numbers to the merged state#1178
maartenbreddels merged 1 commit into
masterfrom
docs/post-reacton-fix-status

Conversation

@maartenbreddels

Copy link
Copy Markdown
Contributor

Summary

Freshness pass over the memory handbook now that widgetti/reacton#52 is merged, verified by re-running the full battery against both merged masters:

  • solara unit suite: 410 passed; reacton suite: 171 passed (both REACTON_FAST modes)
  • integration leak tests: starlette, flask, and REACTON_FAST=1, repeated — all green
  • gc-disabled refcount check: the 4.5 MB per-kernel payload is freed by pure refcounting
  • fresh benchmarks (kitchen-sink app, 10 pages × 10 cycles): plateau ~168 MB / peak 178 MB with gc disabled, ~168/180 with the backstop on, Linux anon plateau ~162 MB — versus the 231 MB sawtooth before the fixes

Doc changes: the "not yet fixed, lives in reacton" section now describes the merged teardown fix (including why weakrefs were not an option — reacton cf61378, a setter can be the only reference keeping its component context alive), and the backstop section carries the re-measured numbers table plus the rendered-an-app gate rationale.

🤖 Generated with Claude Code

…tate

The handbook still described the reacton setter-closure cycle as
unfixed and claimed disabling the gc backstop brings the sawtooth
back; since widgetti/reacton#52 (context tree teardown on close) both
are outdated. Re-measured everything against the merged masters: the
kitchen-sink app plateaus at ~168 MB (peak 178) with gc fully
disabled, so refcounting alone now frees closed kernels. Also records
why weak references were not an option (reacton cf61378: a setter can
be the only reference keeping its component context alive).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@maartenbreddels
maartenbreddels temporarily deployed to docs/post-reacton-fix-status - solara-stable PR #1178 July 5, 2026 17:29 — with Render Destroyed
@maartenbreddels
maartenbreddels merged commit 6212e7d into master Jul 5, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant