Files
swift-nio-http2/docker/docker-compose.2004.main.yaml
T
George Barnett 80f02ef18a Add perf and alloc tests for getting headers (#303)
Motivation:

To justify performance changes we need to measure the code being
changed. We believe that `HPACKHeaders.subscript(canonicalForm:)` is a
little slow.

Modifications:

- Add allocation and performance tests for fetching header values in
  their canonical form

Results:

More benchmarks.
2021-09-27 12:43:35 +01:00

42 lines
1.3 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:20.04-main
build:
args:
base_image: "swiftlang/swift:nightly-main-focal"
ubuntu_version: "focal"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:20.04-main
integration-tests:
image: swift-nio-http2:20.04-main
performance-test:
image: swift-nio-http2:20.04-main
h2spec:
image: swift-nio-http2:20.04-main
test:
image: swift-nio-http2:20.04-main
environment:
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=46150
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=45100
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=317950
- MAX_ALLOCS_ALLOWED_client_server_request_response=284000
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=47050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=700050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=800050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=700050
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=323150
shell:
image: swift-nio-http2:20.04-main