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

Performance History

Latest Results

perf(proxy): avoid inspect.getfile on MutableProxy read hot-path MutableProxy._wrap_recursive runs _is_called_from_dataclasses_internal on every element read (__getitem__/__iter__), which walked up to 5 frames calling inspect.getfile() per frame. For a frame, inspect.getfile() just returns frame.f_code.co_filename after a chain of is*() type checks; those checks are the overhead and dominate the per-element read cost. Read frame.f_code.co_filename directly (equivalent for frames) and cache dataclasses.__file__ in a module constant. asdict/astuple behavior is unchanged. Iterating/indexing large mutable vars is ~3-4x faster. Add tests/benchmarks/test_state_proxy.py covering var reads across mutable (list/dict/dataclass) and non-mutable (scalar) parametrizations.
claude/gracious-johnson-6FlzO
1 hour ago
Merge branch 'main' into masenf/move-memo-fixups
masenf/move-memo-fixups
3 hours ago
update pyi_hashes again
masenf/move-memo-fixups
5 hours ago
Merge branch 'main' into carlos/breadcrumbs-fix
carlos/breadcrumbs-fix
8 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
Optimize MutableProxy dataclasses detection on hot-path#6600
2 hours ago
04df1e2
claude/gracious-johnson-6FlzO
CodSpeed Performance Gauge
0%
CodSpeed Performance Gauge
0%
4 hours ago
36f6750
FarhanAliRaza:lighthouse-pr4-pr5
© 2026 CodSpeed Technology
Home Terms Privacy Docs