The IBM Blockchain Platform extension for VS Code helps developers create, test, and debug smart contracts. However, a key concern for developers remains: How performant is the developed smart contract?
Hyperledger Caliper is a blockchain benchmarking tool that’s designed to perform benchmarks on deployed smart contracts, enabling analysis of throughput, latency, and resource consumption of the blockchain network as the smart contract is being used. This tutorial shows you how to use Hyperledger Caliper to performance test a Hyperledger Fabric smart contract that’s developed and deployed using the IBM Blockchain Platform VS Code extension.
To complete this tutorial, you will need:
Microsoft VS Code with latest IBM Blockchain Platform extension installed
To have completed the inbuilt IBM Blockchain Platform VS Code tutorial 1, which develops and deploys demoContract@0.0.1 for interacting with assets of type MyAsset
Once you’ve completed the VS Code tutorial, which should take about 20 – 30 minutes, you will build
Original URL: https://developer.ibm.com/tutorials/blockchain-performance-testing-smart-contracts-vscode-caliper/