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

`State.reset()` should not reset inherited backend vars

#6365Merged
Comparing
masenf/shared-state-reset
(
fd3169e
) with
main
(
a4ebb0b
)
CodSpeed Performance Gauge
0%
Untouched
7
Archived
2

Benchmarks

9 total
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
47 ms46.9 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
23 ms22.9 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
90.6 ms90.6 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
-1%
7.5 ms7.5 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
3.2 ms3.2 ms
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
Archived
CodSpeed Performance Gauge
0%
594.9 µs594.1 µs
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Archived
CodSpeed Performance Gauge
0%
145.9 µs145.9 µs

Commits

Click on a commit to change the comparison range
Base
main
a4ebb0b
-0.04%
test_component_state.py: update reset backend vars assertion
fa4c5e6
1 month ago
by masenf
-0.27%
tighter assertion in test_component_state.py
e60188d
1 month ago
by masenf
+0.16%
avoid potential false pass in test_linked_state
031af55
1 month ago
by masenf
+0.05%
Protect concurrent `BaseState.get_state` access to SharedState instances
fd3169e
1 month ago
by masenf
© 2026 CodSpeed Technology
Home Terms Privacy Docs