环境搭建请参考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
测试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
测试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
测试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
测试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
测试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
测试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
测试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
测试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
测试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
测试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
测试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
来源:oschina
链接:https://my.oschina.net/u/4301169/blog/4669395