Skip to content

Hyperledger-TWGC/tape

Repository files navigation

Tape

Go doc Github workflow testOpenSSF Best PracticesOpenSSF Scorecard

A light-weight tool to test performance of Hyperledger Fabric

It is used to perform super simple performance test. Our main focus is to make sure that tape will not be the bottleneck of performance test

README in English/中文

Table Of Content


Prerequisites

You could get tape in three ways:

  1. Download binary: get release tar from release page, and extract tape binary from it
  2. Build from source: clone this repo and run make tape at root dir. tape binary will be available at project root directory.
  3. Pull docker image: docker pull ghcr.io/hyperledger-twgc/tape

Usage

For further usage, please see getting start

Binary

Execute ./tape -c config.yaml -n 40000 to generate 40000 transactions to Fabric.

Docker

docker run -v $PWD:/tmp ghcr.io/hyperledger-twgc/tape tape -c $CONFIG_FILE -n 40000

Set this to integer times of batchsize, so that last block is not cut due to timeout. For example, if you have batch size of 500, set this to 500, 1000, 40000, 100000, etc.


Contribute

How to Contribute workflow


License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.


Contact


Credits

Icons made by Good Ware from www.flaticon.com


Contributors