Revision 014d0d6ca05a357cac87ca00effe8ed152303376 authored by mergify[bot] on 06 September 2022, 15:07:59 UTC, committed by GitHub on 06 September 2022, 15:07:59 UTC
* add separated runs by UUID (#9367)

This _should_ be the last piece needed for this tool.
This allows the tool to generate reports on multiple experimental runs that may have been performed against the same chain.

The `load` tool has been updated to generate a `UUID` on startup to uniquely identify each experimental run. The `report` tool separates all of the results it reads by `UUID` and performs separate calculations for each discovered experiment.

Sample output is as follows

```
Experiment ID: 6bd7d1e8-d82c-4dbe-a1b3-40ab99e4fa30

        Connections: 1
        Rate: 1000
        Size: 1024

        Total Valid Tx: 9000
        Total Negative Latencies: 0
        Minimum Latency: 86.632837ms
        Maximum Latency: 1.151089602s
        Average Latency: 813.759361ms
        Standard Deviation: 225.189977ms

Experiment ID: 453960af-6295-4282-aed6-367fc17c0de0

        Connections: 1
        Rate: 1000
        Size: 1024

        Total Valid Tx: 9000
        Total Negative Latencies: 0
        Minimum Latency: 79.312992ms
        Maximum Latency: 1.162446243s
        Average Latency: 422.755139ms
        Standard Deviation: 241.832475ms

Total Invalid Tx: 0
```

closes: #9352

#### PR checklist

- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
      documentation updates needed

(cherry picked from commit 1067ba15719b89a74c89bcbec065062d2d0159d8)

# Conflicts:
#	go.mod

* fix merge conflict

* fix lint

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: William Banfield <wbanfield@gmail.com>
1 parent 441405e
History
File Mode Size
.circleci
.github
.vscode
DOCKER
abci
behaviour
blockchain
cmd
config
consensus
crypto
docs
evidence
libs
light
mempool
networks
node
p2p
privval
proto
proxy
rpc
scripts
spec
state
statesync
store
test
third_party
tools
types
version
.clang-format -rw-r--r-- 241 bytes
.dockerignore -rw-r--r-- 63 bytes
.editorconfig -rw-r--r-- 280 bytes
.gitignore -rw-r--r-- 857 bytes
.golangci.yml -rw-r--r-- 1.1 KB
.goreleaser.yml -rw-r--r-- 638 bytes
.markdownlint.yml -rw-r--r-- 166 bytes
.markdownlintignore -rw-r--r-- 89 bytes
.mergify.yml -rw-r--r-- 217 bytes
CHANGELOG.md -rw-r--r-- 197.8 KB
CHANGELOG_PENDING.md -rw-r--r-- 179 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 4.9 KB
CONTRIBUTING.md -rw-r--r-- 19.0 KB
LICENSE -rw-r--r-- 11.1 KB
Makefile -rw-r--r-- 10.2 KB
PHILOSOPHY.md -rw-r--r-- 7.5 KB
README.md -rw-r--r-- 7.4 KB
SECURITY.md -rw-r--r-- 7.9 KB
STYLE_GUIDE.md -rw-r--r-- 7.6 KB
UPGRADING.md -rw-r--r-- 29.3 KB
Vagrantfile -rw-r--r-- 2.1 KB
appveyor.yml -rw-r--r-- 251 bytes
buf.gen.yaml -rw-r--r-- 275 bytes
buf.work.yaml -rw-r--r-- 35 bytes
buf.yaml -rw-r--r-- 175 bytes
codecov.yml -rw-r--r-- 407 bytes
docker-compose.yml -rw-r--r-- 1.3 KB
dredd.yml -rw-r--r-- 700 bytes
go.mod -rw-r--r-- 13.3 KB
go.sum -rw-r--r-- 168.5 KB
release_notes.md -rw-r--r-- 400 bytes
tests.mk -rw-r--r-- 1.5 KB

README.md

back to top