{ "blockchain": { "type": "fabric", "config": "benchmark/simple/fabric_3orgs.json" }, "command" : { "start": "docker-compose -f network/fabric/simplenetwork2/docker-compose.yaml up -d", "end" : "docker-compose -f network/fabric/simplenetwork2/docker-compose.yaml down;docker rm $(docker ps -aq);docker rmi $(docker images dev* -q)" }, "test": { "name": "simple", "description" : "This is an example benchmark for caliper, to test the backend DLT's performance with simple account opening & querying transactions", "clients": { "type": "local", "number": 5 }, "rounds": [{ "label" : "open", "txNumber" : [1000, 1000, 1000], "rateControl" : [{"type": "fixed-rate", "opts": {"tps" : 50}}, {"type": "fixed-rate", "opts": {"tps" : 100}}, {"type": "fixed-rate", "opts": {"tps" : 150}}], "arguments": { "data": 10000 }, "callback" : "benchmark/simple/open.js" }, { "label" : "query", "txNumber" : [5000, 5000], "rateControl" : [{"type": "fixed-rate", "opts": {"tps" : 100}}, {"type": "fixed-rate", "opts": {"tps" : 200}}], "callback" : "benchmark/simple/query.js" }] }, "monitor": { "type": ["docker", "process"], "docker":{ "name": ["all"] }, "process": [ { "command" : "node", "arguments" : "local-client.js", "multiOutput" : "avg" } ], "interval": 1 } }