Files
swift-nio-http2/docker/docker-compose.1804.53.yaml
T
George Barnett 0c99c555c5 Avoid unnecessary futures in stream creation (#271)
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
2021-01-14 17:14:17 +00:00

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