Skip to content

Commit

Permalink
benchmark fix of fisco-bcos sample
Browse files Browse the repository at this point in the history
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in>
  • Loading branch information
kartikaysaxena committed Apr 10, 2024
1 parent d8b17bc commit aa65495
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
13 changes: 6 additions & 7 deletions benchmarks/samples/fisco-bcos/helloworld/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@ test:
name: Hello World
description: This is a helloworld benchmark of FISCO BCOS for caliper
workers:
type: local
number: 1
rounds:
- label: get
description: Test performance of getting name
txNumber:
- 10000
txNumber: 10000
rateControl:
- type: fixed-rate
type: fixed-rate
opts:
tps: 1000
workload:
module: benchmarks/samples/fisco-bcos/helloworld/get.js
- label: set
description: Test performance of setting name
txNumber:
- 10000
txNumber: 10000
rateControl:
- type: fixed-rate
type: fixed-rate
opts:
tps: 1000
workload:
module: benchmarks/samples/fisco-bcos/helloworld/set.js
module: benchmarks/samples/fisco-bcos/helloworld/set.js
17 changes: 8 additions & 9 deletions benchmarks/samples/fisco-bcos/transfer/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@ test:
name: Solidity Transfer
description: This is a solidity transfer benchmark of FISCO BCOS for caliper
workers:
type: local
number: 4
rounds:
- label: addUser
description: generate users for transfer test later
txNumber:
- 1000
txNumber: 1000
rateControl:
- type: fixed-rate
type: fixed-rate
opts:
tps: 1000
workload:
module: benchmarks/samples/fisco-bcos/transfer/solidity/addUser.js
module: benchmarks/samples/fisco-bcos/transfer/addUser.js
- label: transfer
description: transfer money between users
txNumber:
- 10000
txNumber: 10000
rateControl:
- type: fixed-rate
type: fixed-rate
opts:
tps: 1000
workload:
module: benchmarks/samples/fisco-bcos/transfer/solidity/transfer.js
module: benchmarks/samples/fisco-bcos/transfer/transfer.js
arguments:
txnPerBatch: 10
txnPerBatch: 10

0 comments on commit aa65495

Please sign in to comment.