mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
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.
38 lines
956 B
YAML
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
|