Files
swift-nio-http2/docker/docker-compose.2004.55.yaml
T
George Barnett e220d2130b Update allocation limits (#356)
Motivation:

NIO 2.42.0 was just released and some alloc tests have regressed. These
come from EmbeddedChannelCore adding atomics.

Modifications:

- Update alloc limits

Result:

CI passes
2022-09-28 13:52:36 +01:00

44 lines
1.5 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:20.04-5.5
build:
args:
ubuntu_version: "focal"
swift_version: "5.5"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:20.04-5.5
command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors"
integration-tests:
image: swift-nio-http2:20.04-5.5
performance-test:
image: swift-nio-http2:20.04-5.5
h2spec:
image: swift-nio-http2:20.04-5.5
test:
image: swift-nio-http2:20.04-5.5
command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-} && ./scripts/integration_tests.sh && ./scripts/test_h2spec.sh $${SANITIZER_ARG-}"
environment:
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=46200
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=45100
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=313050
- MAX_ALLOCS_ALLOWED_client_server_request_response=277050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=42050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=300050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=200050
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=303350
shell:
image: swift-nio-http2:20.04-5.5