Created
September 12, 2021 08:02
-
-
Save adityajoshi12/ed1beef9ca9f3e97d2759d3f43737321 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test: | |
name: basic-contract-benchmark | |
description: A test benchmark | |
workers: | |
type: local | |
number: 5 | |
rounds: | |
- label: createAsset | |
description: Create asset benchmark | |
txNumber: 1000 | |
rateControl: | |
{ type: "linear-rate", opts: { startingTps: 50, finishingTps: 200 } } | |
workload: | |
module: workload/createAsset.js | |
arguments: | |
contractId: basic | |
- label: readAsset | |
description: Read asset benchmark | |
txDuration: 60 | |
rateControl: { type: "fixed-load", opts: { transactionLoad: 5 } } | |
workload: | |
module: workload/readAsset.js | |
arguments: | |
assets: 10 | |
contractId: basic | |
monitors: | |
resource: | |
- module: docker | |
options: | |
interval: 4 | |
containers: | |
[ | |
"peer0.org1.example.com", | |
"peer0.org2.example.com", | |
"orderer.example.com", | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment