1.caliper下载
2.caliper中测试fabcar链码
添加下面的代码:
- id: fabcar
version: v1
language: java
path: src/fabric/samples/fabcar/go
运行下面的测试命令:
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/samples/fabric/fabcar/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go.yaml