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

Optimize MutableProxy dataclasses detection on hot-path

#6600Merged
Comparing
claude/gracious-johnson-6FlzO
(
040c67f
) with
main
(
976885e
)
CodSpeed Performance Gauge
0%
Untouched
24
New
4

Benchmarks

28 total
test_var_access[mutable_dict]
tests/benchmarks/test_state_proxy.py
CodSpeed Performance Gauge
N/A
N/A88.2 ms
test_var_access[mutable_dataclass_list]
tests/benchmarks/test_state_proxy.py
CodSpeed Performance Gauge
N/A
N/A207.8 ms
test_var_access[mutable_list]
tests/benchmarks/test_state_proxy.py
CodSpeed Performance Gauge
N/A
N/A71.3 ms
test_var_access[non_mutable_scalar]
tests/benchmarks/test_state_proxy.py
CodSpeed Performance Gauge
N/A
N/A57.8 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
8.6 ms8.5 ms
test_console_log
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
-1%
423.5 µs426.7 µs
test_from_event_type[lambda_event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
-1%
53.7 µs54.1 µs
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
0%
7.6 ms7.5 ms
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
140.6 ms141.1 ms
test_from_event_type[lambda_event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29.1 µs29.2 µs
test_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
39.3 ms39.4 ms
test_from_event_type[event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
51.9 µs52.1 µs
test_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
452.9 µs451.8 µs
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
126.3 ms126.6 ms
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
38.4 ms38.5 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
77.1 ms77.3 ms
test_get_all_imports_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_from_event_type[event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29.2 µs29.3 µs
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
545.1 µs545.8 µs
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
29.9 ms29.9 ms
test_evaluate_page_single_pass[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
7.4 ms7.4 ms
test_from_event_type[event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
96 µs96 µs

Commits

Click on a commit to change the comparison range
Base
main
976885e
-0.12%
perf(proxy): avoid inspect.getfile on MutableProxy read hot-path
04df1e2
9 days ago
by claude
+0.14%
chore: add changelog fragment for proxy read perf fix
e7d9eb2
9 days ago
by claude
-3.4%
Merge branch 'main' into claude/gracious-johnson-6FlzO
003fe5a
9 days ago
by FarhanAliRaza
+3.29%
Merge remote-tracking branch 'origin/main' into claude/gracious-johnson-6FlzO
040c67f
9 days ago
by masenf
© 2026 CodSpeed Technology
Home Terms Privacy Docs