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

Add in-memory state expiration to StateManagerMemory

#6201Merged
Comparing
FarhanAliRaza:mem-expiration
(
9877312
) with
main
(
64a0bc6
)
CodSpeed Performance Gauge
0%
Untouched
8

Benchmarks

8 total
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
145.6 µs145.5 µs
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
592.9 µs593.8 µs
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
90.7 ms90.9 ms
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
47.2 ms47.3 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
3.1 ms3.1 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
22.7 ms23 ms

Commits

Click on a commit to change the comparison range
Base
main
64a0bc6
-0.24%
Add in-memory state expiration to StateManagerMemory
ab71d84
27 days ago
by FarhanAliRaza
-0.02%
Simplify StateManagerMemory expiration internals
c0b8742
27 days ago
by FarhanAliRaza
-0.18%
Fix StateManager.create to respect explicit memory mode when Redis URL is set
2b0e097
27 days ago
by FarhanAliRaza
+0.04%
feat: add in-memory state expiration to StateManagerMemory
cda08bb
26 days ago
by FarhanAliRaza
+0.06%
feat: Addded expire extension
9877312
23 days ago
by FarhanAliRaza
© 2026 CodSpeed Technology
Home Terms Privacy Docs