1.安装nodejs,

2.部署Docker

3.部署Caliper

mkdir benchmarks && cd benchmarks

3.快速体验FISCO BCOS基准测试

4.修改配置

5.执行helloworld测试(在benchmarks文件夹中执行)

npx caliper benchmark run --caliper-workspace caliper-benchmarks --caliper-benchconfig benchmarks/samples/fisco-bcos/helloworld/config.yaml  --caliper-networkconfig networks/fisco-bcos/4nodes1group/fisco-bcos.json

参数说明:

--caliper-workspace 指定工作目录

--caliper-benchconfig 指定测试配置文件

--caliper-networkconfig指定网络配置文件

本文参照:

https://github.com/nvm-sh/nvm#troubleshooting-on-linux

https://fisco-bcos-documentation.readthedocs.io/zh_CN/dev/docs/tutorial/caliper.html

FISCO-BCOS/FISCO-BCOS#1248

https://blog.csdn.net/u013288190/article/details/116304877