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

Deepcopy EventSpec args when creating Event.from_event_type

#6458Merged
Comparing
masenf/deepcopy-Event-constructor
(
a7668b9
) with
main
(
3702d23
)
CodSpeed Performance Gauge
-4%
Regression
2
Untouched
22
Skipped
2

Benchmarks

26 total
test_from_event_type[event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
-4%
52.7 µs54.7 µs
test_from_event_type[lambda_event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
-4%
54.7 µs56.7 µs
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_from_event_type[lambda_event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
99.7 µs99.4 µs
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_from_event_type[event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
97.2 µs97 µs
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
8.4 ms8.4 ms
test_compile_page_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
13.3 ms13.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_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
450.2 µs449.7 µs
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
551.3 µs551.2 µs
test_from_event_type[event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29.5 µs29.5 µs
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
134.5 ms134.6 ms
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
0%
7.5 ms7.5 ms
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
139.2 ms139.3 ms
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
13 ms13 ms
test_from_event_type[lambda_event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29 µs29.1 µs
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
147.2 ms147.5 ms
test_compile_page_full_context[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
15.9 ms15.9 ms
test_console_log
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
423.2 µs424.6 µs
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_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
-1%
39.6 ms39.8 ms
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
-1%
38.7 ms38.9 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Skipped
147.9 µs*

Commits

Click on a commit to change the comparison range
Base
main
3702d23
-0.36%
Deepcopy EventSpec args when creating Event.from_event_type
d534605
4 hours ago
by masenf
-3.34%
remove tuple from IMMUTABLE_PAYLOAD_TYPES
a7668b9
2 hours ago
by masenf
© 2026 CodSpeed Technology
Home Terms Privacy Docs