Files
swift-nio-http2/docker/docker-compose.1804.52.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

47 lines
1.4 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:18.04-5.2
build:
args:
ubuntu_version: "bionic"
swift_version: "5.2"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:18.04-5.2
integration-tests:
image: swift-nio-http2:18.04-5.2
environment:
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=58000
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_client_server_request_response=304000
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=343000
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=55000
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=54000
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=384000
performance-test:
image: swift-nio-http2:18.04-5.2
h2spec:
image: swift-nio-http2:18.04-5.2
test:
image: swift-nio-http2:18.04-5.2
environment:
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=58000
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_client_server_request_response=304000
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=343000
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=55000
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=54000
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=384000
shell:
image: swift-nio-http2:18.04-5.2