Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

fix: support bytes in StreamingResponse generators

#1308
Comparing
fix/sse-downloads
(
3e0435a
) with
main
(
0472e42
)
CodSpeed Performance Gauge
0%
Untouched
169
New
4

Benchmarks

173 total
test_stream_bytes_file
integration_tests/test_binary_streaming.py
CodSpeed Performance Gauge
N/A
N/A2.7 ms
test_stream_bytes_no_sse_headers
integration_tests/test_binary_streaming.py
CodSpeed Performance Gauge
N/A
N/A2.5 ms
test_stream_bytes_basic
integration_tests/test_binary_streaming.py
CodSpeed Performance Gauge
N/A
N/A2.8 ms
test_stream_text_still_works
integration_tests/test_binary_streaming.py
CodSpeed Performance Gauge
N/A
N/A2.6 ms
test_sse_basic_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
+5%
2.7 ms2.6 ms
test_sub_router_web_socket
integration_tests/test_subrouter.py
CodSpeed Performance Gauge
+2%
1.1 ms1.1 ms
test_patch[sync]
integration_tests/test_patch_requests.py
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
test_split_request_params_get_path_params[split_request_untyped-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_sse_empty_stream
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_streaming_sync_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
3.6 ms3.6 ms
test_sse_async_endpoint
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_template[sync]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_basic_stream
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
4 ms4 ms
test_lifecycle_handlers
integration_tests/test_app.py
CodSpeed Performance Gauge
0%
668 µs666.7 µs
test_sse_formatted_messages
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_custom_status_code
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_delete[async]
integration_tests/test_delete_requests.py
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms
test_sse_single_message
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_middleware_compatibility
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_sse_json_data
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_allow_cors
integration_tests/test_app.py
CodSpeed Performance Gauge
0%
753 µs752.1 µs
test_subrouter_global_dependency_injection
integration_tests/test_dependency_injection.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_exception_handling[/sync/exception/put-put]
integration_tests/test_exception_handling.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_sse_optimization_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_exception_handling[/async/exception/get-get]
integration_tests/test_exception_handling.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms

Commits

Click on a commit to change the comparison range
Base
main
0472e42
+0.01%
fix: support bytes in StreamingResponse generators
8d81bad
20 days ago
by sansyrox
-0.31%
cargo fmt
e69d5c4
19 days ago
by sansyrox
+0.03%
[pre-commit.ci] auto fixes from pre-commit.com hooks
3e0435a
19 days ago
by pre-commit-ci[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs