-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml.dist
53 lines (48 loc) · 1.52 KB
/
docker-compose.yml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '2'
services:
bench_serialize:
build: .
container_name: bench_serialize
volumes_from:
- composer
working_dir: /opt/serializer-benchmark
command: sh -c 'vendor/bin/phpbench run --warmup=1 --iterations=5 --report=tsantos --group=serialize'
bench_deserialize:
build: .
container_name: bench_deserialize
volumes_from:
- composer
working_dir: /opt/serializer-benchmark
command: sh -c 'vendor/bin/phpbench run --warmup=1 --iterations=5 --report=tsantos --group=deserialize'
bench_serialize_blackfire:
build:
dockerfile: Dockerfile.blackfire.dist
context: .
container_name: bench_serialize_blackfire
command: sh -c 'vendor/bin/phpbench run --warmup=1 --revs=5 --report=tsantos --group=serialize --executor=blackfire'
volumes_from:
- composer
working_dir: /opt/serializer-benchmark
links:
- blackfire
bench_deserialize_blackfire:
build:
dockerfile: Dockerfile.blackfire.dist
context: .
container_name: bench_deserialize_blackfire
command: sh -c 'vendor/bin/phpbench run --warmup=1 --revs=5 --report=tsantos --group=deserialize --executor=blackfire'
volumes_from:
- composer
working_dir: /opt/serializer-benchmark
links:
- blackfire
blackfire:
image: blackfire/blackfire
composer:
image: composer
container_name: bench_composer
working_dir: /opt/serializer-benchmark
command: update
volumes:
- ./:/opt/serializer-benchmark
- ../serializer:/opt/serializer