Skip to content

Commit

Permalink
Merge pull request #286 from feihujiang/testLatency
Browse files Browse the repository at this point in the history
Add a transactions' file generation mode
  • Loading branch information
panyu4 authored Jan 19, 2019
2 parents ee4ad8e + f50bbb9 commit cb49449
Show file tree
Hide file tree
Showing 10 changed files with 2,982 additions and 29 deletions.
33 changes: 33 additions & 0 deletions benchmark/simple/config-file.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
test:
name: simple
description: This is an example benchmark for caliper, to test the backend DLT's
performance with simple account opening & querying transactions
clients:
type: local
number: 4
rounds:
- label: open
txMode:
type: file-write
txNumber:
- 4000
rateControl:
- type: fixed-rate
opts:
tps: 4000
arguments:
money: 10000
callback: benchmark/simple/open.js
monitor:
type:
- docker
- process
docker:
name:
- all
process:
- command: node
arguments: local-client.js
multiOutput: avg
interval: 1
2 changes: 1 addition & 1 deletion network/fabric-v1.1/2org1peergoleveldb/fabric-go.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@
"Orderer": "Solo",
"Distribution": "Single Host"
}
}
}
Loading

0 comments on commit cb49449

Please sign in to comment.