Avatar for the reflex-dev user
reflex-dev
reflex
BlogDocsChangelog

Performance History

Latest Results

Document that 0.9 and 0.10 instances cannot share a state store Add a section to the 0.10 upgrade guide saying that a 0.10 instance loads state saved by 0.9 but a 0.9 instance discards state saved by 0.10, so a rolling deploy that runs both versions, or a rollback against the same Redis or disk store, resets the sessions that reach the older instance. The breaking-change fragment and the Self Hosting note are in #7494. Refs #7470 #7474 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SjCrbdguMkfe4bhbaREiwo
claude/docs-0.10-migration
14 minutes ago
Bound replaced-default history and cache the mangled-name prefixes Address the review round on the class-assignment fixes. Field._assign_default kept every replaced default for patch/restore, so a state that reassigns a class default at runtime grew the list without bound. The history is now a deque of at most _MAX_REPLACED_DEFAULTS (16) entries, dropping the oldest: undoing still unwinds nested patches, and repeated plain assignments stay bounded. The attribute name is one constant, _REPLACED_DEFAULTS_ATTR, used by _RESERVED_FIELD_ATTRS, _assign_default and _restore_default. ComponentState.create already copies fields per generated class without their history; a unit test now pins that. Fix a dev-mode performance regression from the mangled-name guard: _is_plain_private_name rebuilt the prefix of every class in the MRO on each call, so the first write of each name on a fresh state class cost about 2.5 us instead of about 60 ns, and test_state_tree_delta ran 24-29% slower on CodSpeed. Names without a double underscore now return at once, and the prefixes are cached per class with _cache_per_class (class names are fixed once __init_subclass__ renames local states). The base vars docs no longer claim that a declared default_factory producing browser storage keeps its storage options on a plain string assignment; it does not. The browser test now also covers SessionStorage: the value is stored under its configured name, survives a same-tab reload, and a new tab starts from the assigned default. Refs #7471 #7472 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SjCrbdguMkfe4bhbaREiwo
claude/class-assignment
16 minutes ago
Delete tests/units/test_optional_dependencies.py
claude/db-extra-greenlet
41 minutes ago

Latest Branches

CodSpeed Performance Gauge
+4%
Add the 0.10 upgrade guide, the missing sqlmodel release note, and a BackendVarFormatError hint#7496
25 minutes ago
a0b6aef
claude/docs-0.10-migration
CodSpeed Performance Gauge
+10%
25 minutes ago
c6e7cd9
claude/n004-pickle-compat
CodSpeed Performance Gauge
+16%
© 2026 CodSpeed Technology
Home Terms Privacy Docs