-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.yaml
55 lines (50 loc) · 1.12 KB
/
config.yaml
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
54
55
---
test:
clients:
type: local
number: 10
rounds:
- label: initLedger
txNumber:
- 1 # Run just once and this will create 10 cars with id CAR1, CAR2 .... etc. These will be used for query and change owner operation (See fabcar.go)
rateControl:
- type: fixed-rate
opts:
tps: 1
callback: ../inventory/blockchain/benchmark/fabcar/initLedger.js
- label: createCar
txNumber:
- 1000
- 1000
rateControl:
- type: fixed-rate
opts:
tps: 100
- type: fixed-rate
opts:
tps: 200
callback: ../inventory/blockchain/benchmark/fabcar/createCar.js
- label: queryAllCars
txNumber:
- 1000
rateControl:
- type: fixed-rate
opts:
tps: 100
callback: ../inventory/blockchain/benchmark/fabcar/queryAllCars.js
- label: queryCar
txNumber:
- 1000
rateControl:
- type: fixed-rate
opts:
tps: 200
callback: ../inventory/blockchain/benchmark/fabcar/queryCar.js
monitor:
type:
- process
process:
- command: node
arguments: local-client.js
multiOutput: avg
interval: 1