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

Do not memoize parent component of Foreach

#6454
Comparing
masenf/do-not-memo-foreach-parent
(
ea54160
) with
main
(
a84e29b
)
CodSpeed Performance Gauge
-46%
Regression
3
Untouched
14
Skipped
2

Benchmarks

19 total
test_compile_page_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-46%
13.3 ms24.7 ms
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-43%
13 ms23 ms
test_compile_page_full_context[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-42%
15.9 ms27.5 ms
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+2%
134.9 ms132.6 ms
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+2%
147.6 ms145.4 ms
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+2%
139.5 ms137.3 ms
test_get_all_imports_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
1.6 ms1.6 ms
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
38.9 ms38.8 ms
test_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
39.8 ms39.7 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_evaluate_page_single_pass[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
7.3 ms7.3 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
0%
7.5 ms7.5 ms
test_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
448.6 µs448.8 µs
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
548 µs549.8 µs
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
8.4 ms8.4 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Skipped
147.9 µs*
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
Skipped
594 µs*

Commits

Click on a commit to change the comparison range
Base
main
a84e29b
-46.34%
Do not memoize parent component of Foreach
ea54160
7 hours ago
by masenf
© 2026 CodSpeed Technology
Home Terms Privacy Docs