Skip to content

githubckgoh1439/Hyperledger-caliper-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperledger Caliper Benchmarks v0.2.0

This repository contains sample benchmarks that may be used by Caliper, a blockchain performance benchmark framework. For more information on Caliper, please see the Caliper main repository

This project still work in progess.

Steps to run :

  1. Set your NPM project details with npm init (or just execute npm init -y) in your workspace directory (if you haven’t done this already, i.e., you don’t have a package.json file).
npm init -y
  1. Install the Caliper CLI
npm install --only=prod @hyperledger/[email protected]
  1. Check the version
npx caliper --version
  1. Check the help file of Caliper CLI
npx caliper --help
  1. Bind the CLI to the required platform SDK
npx caliper bind --caliper-bind-sut fabric --caliper-bind-sdk 1.4.0
  1. Install relevant npm packages
  1. Copy this specified 'grpc' packages from path of 'packages' into the path of 'node_modules'

  2. Ensure the relevant chaincode (which under path of 'src') been compile using 'go build chaincode_filename.go'

  3. Invoke the local CLI binary (using npx) with the appropriate parameters.

npx caliper benchmark run --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.0/2org1peergoleveldb/fabric-go.yaml

Appendix :

https://hyperledger.github.io/caliper/v0.2/installing-caliper/

https://medium.com/@madhavi.kulkarni180796/hyperledger-caliper-benchmark-6d4d47e9d6ae

About

Hyperledger Caliper Benchmarks Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published