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

Add compiler plugin hooks and plugins and move compilation pipeline out of App

#6260Merged
Comparing
FarhanAliRaza:compiler-hooks
(
67a450d
) with
main
(
0f46c0e
)
CodSpeed Performance Gauge
×11
Improvement
5
Untouched
2
New
10
Archived
2

Benchmarks

19 total
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
×11
90.4 ms8.4 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
×8.3
22.8 ms2.7 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
×6.2
10.7 ms1.7 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
×5.8
3,163.8 µs550 µs
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
+20%
46.8 ms38.9 ms
test_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
N/A
N/A39.8 ms
test_evaluate_page_single_pass[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
N/A
N/A7.3 ms
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A147.6 ms
test_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A448.8 µs
test_compile_page_full_context[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A15.9 ms
test_get_all_imports_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A1.6 ms
test_compile_page_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A13.3 ms
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A139.4 ms
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A134.7 ms
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
N/A
N/A13 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
0%
7.5 ms7.5 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Archived
CodSpeed Performance Gauge
0%
147.9 µs147.9 µs*
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
Archived
CodSpeed Performance Gauge
0%
594 µs594 µs*

Commits

Click on a commit to change the comparison range
Base
main
0f46c0e
+24.09%
Add compiler plugin hooks and move compilation pipeline out of App
15f363b
2 months ago
by FarhanAliRaza
+1.39%
Fix memo component ordering and Var-backed page title handling
b425f01
2 months ago
by FarhanAliRaza
-0.7%
Fix app wrap component collection for stateful components
2ab0557
2 months ago
by FarhanAliRaza
-1.19%
Merge remote-tracking branch 'upstream/main' into compiler-hooks
baee2bd
2 months ago
by FarhanAliRaza
+1.73%
pyi hashes
18319ea
2 months ago
by FarhanAliRaza
+0.12%
pyi hashes
db4059c
2 months ago
by FarhanAliRaza
-1.06%
Replace global StatefulComponent cache with compile-scoped cache
e64a091
2 months ago
by FarhanAliRaza
×2.5
fixed benchmarks and cache render and deduplicate functionsand merge
4b04b09
2 months ago
by FarhanAliRaza
-0.75%
fix import
1cf4962
2 months ago
by FarhanAliRaza
×9.3
fix broken _get_vars cache and add imports/hooks caches
ddaf242
2 months ago
by FarhanAliRaza
-1.22%
Simplify compiler hooks: merge tree walkers and remove optimization fields
41204c1
2 months ago
by FarhanAliRaza
+0.63%
Fix stateful component imports not included in all_imports
733f4e5
2 months ago
by FarhanAliRaza
-0.04%
Remove CompilerPlugin and PageDefinition protocols, use concrete types
292d095
2 months ago
by FarhanAliRaza
-1.67%
pyi hashes
a0255f9
2 months ago
by FarhanAliRaza
+2.43%
removed orphaned code used by legacy compiler
4eaa2da
2 months ago
by FarhanAliRaza
-4.8%
Merge remote-tracking branch 'upstream/main' into compiler-hooks
92c30de
2 months ago
by FarhanAliRaza
+0.6%
fixed borken merge
d7f43b8
2 months ago
by FarhanAliRaza
+1.6%
fix reflex dep as git url exclusion for reflex-web CI
c50b245
2 months ago
by masenf
-3.34%
Merge branch 'compiler-hooks' of https://github.com/FarhanAliRaza/reflex into compiler-hooks
9f226a4
2 months ago
by FarhanAliRaza
+2.92%
integration-tests.yml: do not reinstall reflex from git
d391cd0
2 months ago
by masenf
+0.33%
Replace StatefulComponent with MemoizeStatefulPlugin compiler plugin
ee4dcb4
2 months ago
by FarhanAliRaza
+5.81%
Add _validate_component_children bypass for experimental memo wrappers
50e8877
2 months ago
by FarhanAliRaza
+2.29%
Merge branch 'main' into compiler-hooks
d87e637
2 months ago
by FarhanAliRaza
-0.9%
fixed buffer upload
3dc14f1
2 months ago
by FarhanAliRaza
-1.08%
fixed buffer upload by shortcircuiting
af85fa2
2 months ago
by FarhanAliRaza
-4.17%
Merge branch 'main' into compiler-hooks
f1e7b67
2 months ago
by FarhanAliRaza
+0.49%
pyi hashes
e7dfb81
2 months ago
by FarhanAliRaza
-30.79%
Merge remote-tracking branch 'upstream/main' into compiler-hooks
3530727
1 month ago
by FarhanAliRaza
+1.28%
feat: add on_disconnect callback to DisconnectAwareStreamingResponse
731b3e3
1 month ago
by FarhanAliRaza
-0.69%
fix: replace asyncio.wait with anyio task group in ASGI 2.4 disconnect path
6b76d16
1 month ago
by FarhanAliRaza
-0.95%
fix: simplify DisconnectAwareStreamingResponse ASGI 2.4 path
d012632
1 month ago
by FarhanAliRaza
-1.45%
pyi hashes
99aad2c
1 month ago
by FarhanAliRaza
+4.41%
Merge remote-tracking branch 'upstream/main' into compiler-hooks
c7117d6
1 month ago
by FarhanAliRaza
+16.04%
removed the final library reset to fix the hydration error
482208c
1 month ago
by FarhanAliRaza
-7.76%
Merge branch 'main' into compiler-hooks
553b761
1 month ago
by masenf
+1.18%
memoize: generated components contain hook calls (#4)
de521cc
1 month ago
by masenf
+1.32%
removed unused kwargs del
ec21152
1 month ago
by FarhanAliRaza
-2.18%
fix: per memo file and treeshaking
45ad77b
1 month ago
by FarhanAliRaza
+1.22%
revert unrelated change
6eac92c
1 month ago
by FarhanAliRaza
+4.15%
Preserve nested memo imports while keeping passthrough memo bodies root-only
707c215
1 month ago
by FarhanAliRaza
-10.02%
Rebuild passthrough auto-memo definitions per compile
9d626bc
1 month ago
by FarhanAliRaza
+6.36%
feat: add PRE/NORMAL/POST ordering for compiler component hooks
63b3a40
1 month ago
by FarhanAliRaza
-0.66%
Fix auto-memo snapshot handling for structural forms
8aa1275
1 month ago
by FarhanAliRaza
+1.5%
Merge branch 'main' into compiler-hooks
7adeee9
26 days ago
by FarhanAliRaza
+2.23%
pyi hash
536a06c
26 days ago
by FarhanAliRaza
-0.06%
perf: fold _deterministic_hash into a single incremental hasher
c576860
26 days ago
by FarhanAliRaza
-3.6%
Ensure global client_state setters have proper VarData
129b186
26 days ago
by masenf
+3.08%
Handle auto-memoized form children
b9970d3
26 days ago
by masenf
-19.63%
Memoize snapshot boundaries when subtree carries reactive data
b867952
26 days ago
by FarhanAliRaza
+25.75%
Address CR feedback
18b4cf4
25 days ago
by masenf
-11.48%
Merge remote-tracking branch 'upstream/main' into compiler-hooks
ac84ceb
25 days ago
by masenf
-0.43%
lifespan: ignore uninitialized state_manager during lifespan cleanup
c287af1
25 days ago
by masenf
+1.56%
Do not auto-memoize components with imports-only VarData
3f08dd7
25 days ago
by masenf
+1.16%
fix: render dynamic components as React elements via createElement
b73b8b4
25 days ago
by FarhanAliRaza
-2.51%
Revert state.js dynamic component createElement wrap and integration test
4d74b68
24 days ago
by FarhanAliRaza
-52.47%
Restore evalReactComponent createElement wrap and integration test
9a744f2
24 days ago
by FarhanAliRaza
+50.25%
Move `createElement` to dynamic component hook code
67a450d
24 days ago
by masenf
© 2026 CodSpeed Technology
Home Terms Privacy Docs