-
Notifications
You must be signed in to change notification settings - Fork 0
/
dataflow.yml
42 lines (41 loc) · 1 KB
/
dataflow.yml
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
communication:
zenoh:
prefix: /foo
nodes:
- id: sender
custom:
run: cargo run --bin sender --release
env:
CONCURRENCIES: 10
ITERATIONS: 2
WAIT_ITERATIONS_IN_SECS: 2
outputs:
- image
- context
inputs:
mounted_0: tokio_spawn_blocking/mounted
mounted_1: rayon_spawn/mounted
- id: rayon_spawn
custom:
run: cargo run --bin rayon_spawn --release
inputs:
image: sender/image
context: sender/context
outputs:
- mounted
env:
RAYON_NUM_THREADS: 5
NUMBER_OF_CALLS: 22
- id: tokio_spawn_blocking
custom:
run: cargo run --bin tokio_spawn_blocking --release
# run: flamegraph -o tokio_spawn_blocking.svg -- ./target/release/tokio_spawn_blocking
env:
TOKIO_BLOCKING_THREADS: 50
TOKIO_WORKER_THREADS: 1
NUMBER_OF_CALLS: 22
inputs:
image: sender/image
context: sender/context
outputs:
- mounted