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

Add in-memory state expiration to StateManagerMemory

#6201
Comparing
FarhanAliRaza:mem-expiration
(
2b0e097
) with
main
(
7ee3026
)
CodSpeed Performance Gauge
0%
Untouched
8

Benchmarks

8 total
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
597.8 µs597.6 µs
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
47.4 ms47.5 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
150.9 µs151.3 µs
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
90.8 ms91.2 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.8 ms23.1 ms

Commits

Click on a commit to change the comparison range
Base
main
7ee3026
-0.24%
Add in-memory state expiration to StateManagerMemory
ab71d84
23 hours ago
by FarhanAliRaza
-0.02%
Simplify StateManagerMemory expiration internals
c0b8742
23 hours ago
by FarhanAliRaza
-0.18%
Fix StateManager.create to respect explicit memory mode when Redis URL is set
2b0e097
23 hours ago
by FarhanAliRaza
© 2026 CodSpeed Technology
Home Terms Privacy Docs