Skip to content

add separated runs by UUID (backport #9367)#9380

Merged
williambanfield merged 3 commits intov0.34.xfrom
mergify/bp/v0.34.x/pr-9367
Sep 6, 2022
Merged

add separated runs by UUID (backport #9367)#9380
williambanfield merged 3 commits intov0.34.xfrom
mergify/bp/v0.34.x/pr-9367

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Sep 6, 2022

This is an automatic backport of pull request #9367 done by Mergify.
Cherry-pick of 1067ba1 has failed:

On branch mergify/bp/v0.34.x/pr-9367
Your branch is up to date with 'origin/v0.34.x'.

You are currently cherry-picking commit 1067ba157.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   go.sum
	modified:   test/loadtime/README.md
	modified:   test/loadtime/cmd/load/main.go
	modified:   test/loadtime/cmd/report/main.go
	modified:   test/loadtime/payload/payload.pb.go
	modified:   test/loadtime/payload/payload.proto
	modified:   test/loadtime/payload/payload_test.go
	modified:   test/loadtime/report/report.go
	modified:   test/loadtime/report/report_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   go.mod

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

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 1067ba1)

# Conflicts:
#	go.mod
@mergify mergify bot requested a review from ebuchman as a code owner September 6, 2022 14:38
@mergify mergify bot requested a review from a team September 6, 2022 14:38
@mergify mergify bot added the conflicts label Sep 6, 2022
@williambanfield williambanfield merged commit 014d0d6 into v0.34.x Sep 6, 2022
@williambanfield williambanfield deleted the mergify/bp/v0.34.x/pr-9367 branch September 6, 2022 15:08
@williambanfield williambanfield restored the mergify/bp/v0.34.x/pr-9367 branch September 9, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant