mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-30 05:28:45 +00:00
Motivation: The stream channel configure function uses a chain of futures where the same can be achieved in fewer futures. Modifications: - Merge the future chains where possible in HTTP2StreamChannel.configure Result: A 1.3% reduction in instructions in server_only_10k_requests_1_concurrent
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio-http2:18.04-5.3
|
|
build:
|
|
args:
|
|
ubuntu_version: "bionic"
|
|
swift_version: "5.3"
|
|
h2spec_version: "2.2.1"
|
|
|
|
unit-tests:
|
|
image: swift-nio-http2:18.04-5.3
|
|
|
|
integration-tests:
|
|
image: swift-nio-http2:18.04-5.3
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=58000
|
|
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response=303000
|
|
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=342000
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=53000
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=52000
|
|
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=364000
|
|
|
|
performance-test:
|
|
image: swift-nio-http2:18.04-5.3
|
|
|
|
h2spec:
|
|
image: swift-nio-http2:18.04-5.3
|
|
|
|
test:
|
|
image: swift-nio-http2:18.04-5.3
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=58000
|
|
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response=303000
|
|
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=342000
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=53000
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=52000
|
|
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=364000
|
|
|
|
shell:
|
|
image: swift-nio-http2:18.04-5.3
|