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

ENG-9348: Lifespan tasks execute in registration order

#6334
Comparing
masenf/lifespan-ordering
(
e437699
) with
main
(
c3f684c
)
CodSpeed Performance Gauge
0%
Untouched
9

Benchmarks

9 total
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+2%
147.9 µs145.6 µs
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
0%
7.5 ms7.5 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
595.5 µs595.4 µs
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
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 ms47.2 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
23 ms23.2 ms

Commits

Click on a commit to change the comparison range
Base
main
c3f684c
+0.16%
ENG-9348: Lifespan tasks execute in registration order
51449c5
22 hours ago
by masenf
-0.02%
update docs
a5f8ca1
22 hours ago
by masenf
+0.03%
fix incorrect deprecation warning
7d92f45
22 hours ago
by masenf
+0.02%
little cleaner test assertion, for greptile sake
f804a88
21 hours ago
by masenf
-0.39%
re-raise CancelledError in modify_state_task
9918f4d
21 hours ago
by masenf
+0.29%
do not allow init or repr for _lifespan_tasks
3cea108
21 hours ago
by masenf
-0.1%
add ordering guards around test_lifespan
7b68106
20 hours ago
by masenf
+0.21%
ignore possiblyUnboundVariable
0948f18
20 hours ago
by masenf
-0.17%
docs: note that lifespan tasks must be registered before app starts
e437699
20 hours ago
by masenf
© 2026 CodSpeed Technology
Home Terms Privacy Docs