-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #286 from feihujiang/testLatency
Add a transactions' file generation mode
- Loading branch information
Showing
10 changed files
with
2,982 additions
and
29 deletions.
There are no files selected for viewing
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
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,4 +98,4 @@ | |
"Orderer": "Solo", | ||
"Distribution": "Single Host" | ||
} | ||
} | ||
} |
Oops, something went wrong.