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

feat: add experimental memo decorator for JS-level component and function memoization

#6192
Comparing
FarhanAliRaza:exp-memo
(
1501541
) with
main
(
7ee3026
)
CodSpeed Performance Gauge
+3%
Improvement
1
Untouched
7

Benchmarks

8 total
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+3%
150.9 µs146.1 µs
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
597.8 µs593.5 µs
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
47.4 ms47.2 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
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
0%
90.8 ms90.9 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
22.8 ms22.9 ms

Commits

Click on a commit to change the comparison range
Base
main
7ee3026
+0.96%
feat: add experimental memo decorator for JS-level component and function memoization
54a9b45
1 day ago
by FarhanAliRaza
-0.16%
fix: prevent memo name collisions and compile-time mutation of stored components
c078e8b
1 day ago
by FarhanAliRaza
+2.49%
Merge branch 'main' into exp-memo
a2f4400
12 hours ago
by FarhanAliRaza
+0.44%
Merge branch 'exp-memo' of https://github.com/FarhanAliRaza/reflex into exp-memo
c2053fc
12 hours ago
by FarhanAliRaza
-0.44%
pyi: update hashes
1501541
11 hours ago
by FarhanAliRaza
© 2026 CodSpeed Technology
Home Terms Privacy Docs