环境搭建请参考Hyperledger Caliper测试Hyperledger Fabric1.4.1性能实战操作
测试1
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go.yaml
![](https://img-blog.csdnimg.cn/20201008222429475.png)
测试2
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go-tls.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go-tls.yaml
![](https://img-blog.csdnimg.cn/20201008222644614.png)
测试3
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go-mutual-tls.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go-mutual-tls.yaml
![](https://img-blog.csdnimg.cn/20201008231257167.png)
测试4
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb_raft/fabric-go-tls.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb_raft/fabric-go-tls.yaml
![](https://img-blog.csdnimg.cn/20201008222913683.png)
测试5
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb_raft/fabric-go-tls-solo.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb_raft/fabric-go-tls-solo.yaml
![](https://img-blog.csdnimg.cn/20201008223019836.png)
测试6
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go.yaml
![](https://img-blog.csdnimg.cn/20201008223250616.png)
测试7
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go-tls.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go-tls.yaml
![](https://img-blog.csdnimg.cn/20201008231402166.png)
测试8
配置文件benchmarks/scenario/simple/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go-mutual-tls.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go-mutual-tls.yaml
![](https://img-blog.csdnimg.cn/20201008231508340.png)
测试9
配置文件benchmarks/api/fabric/levelDB/base.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb/api/fabric-api-go.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/api/fabric/levelDB/base.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/api/fabric-api-go.yaml
![](https://img-blog.csdnimg.cn/20201008231731389.png)
测试10
配置文件benchmarks/api/fabric/levelDB/base.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb/api/fabric-api-go.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/api/fabric/levelDB/base.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/api/fabric-api-go.yaml
![](https://img-blog.csdnimg.cn/20201008231731389.png)
测试11
配置文件benchmarks/api/fabric/levelDB/base.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peergoleveldb_raft/api/fabric-api-solo-go.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/api/fabric/levelDB/base.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb_raft/api/fabric-api-solo-go.yaml
![](https://img-blog.csdnimg.cn/20201009095659867.png)
测试12
配置文件benchmarks/samples/fabric/marbles/config.yaml
,
网络文件networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go-tls.yaml
npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/samples/fabric/marbles/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go-tls.yaml
![](https://img-blog.csdnimg.cn/20201008232047765.png)
欢迎小伙伴的讨论,若有问题请在评论区评论或私信,谢谢你。