reflex-dev
reflex
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Run sync event handlers off the asyncio loop via executor
#6518
Comparing
claude/add-event-executor-option-grkJH
(
984b6b0
) with
main
(
9ed3692
)
CodSpeed Performance Gauge
-7%
Regression
1
Untouched
23
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Untouched
24 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
-7%
7.5 ms
8.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_from_event_type[event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
+1%
52.8 µs
52 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_from_event_type[lambda_event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
+1%
99.6 µs
98.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_page_full_context[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
35.7 ms
35.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_page_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
32.8 ms
32.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
29.3 ms
29 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_from_event_type[event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
+1%
97.1 µs
96 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_from_event_type[lambda_event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
+1%
54.6 µs
54 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_from_event_type[event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
+1%
29.5 µs
29.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
131.3 ms
130.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
81.6 ms
80.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
551.3 µs
546.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
139.4 ms
138.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_from_event_type[lambda_event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29.2 µs
29.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
39.7 ms
39.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_console_log
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
425.4 µs
424.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
38.8 ms
38.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms
6.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_evaluate_page_single_pass[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
7.3 ms
7.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
448.1 µs
450.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_get_all_imports_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
-1%
8.4 ms
8.5 ms
Commits
Click on a commit to change the comparison range
Base
main
9ed3692
-7.17%
feat(event): run non-async handlers in a thread pool by default
984b6b0
5 hours ago
by claude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs