Files
swift-nio/docker/docker-compose.1604.41.yaml
T
Cory Benfield 1013cddd8f Track Future allocations in CI. (#376)
Motivation:

We don't want to regress the number of heap allocations we perform.

Modifications:

Added appropriate environment variables to Docker files.

Result:

Things go bang if we regress Future allocation counts.
2018-05-01 15:10:36 +01:00

38 lines
956 B
YAML

version: "3"
services:
runtime-setup:
image: swift-nio:16.04-4.1
build:
args:
ubuntu_version : "16.04"
swift_version : "4.1"
unit-tests:
image: swift-nio:16.04-4.1
integration-tests:
image: swift-nio:16.04-4.1
environment:
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=52000
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=868500
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=5000
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=3500
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
test:
image: swift-nio:16.04-4.1
environment:
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=52000
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=868500
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=5000
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=3500
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
echo:
image: swift-nio:16.04-4.1
http:
image: swift-nio:16.04-4.1