-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bench-e2e single mode and keep results (#1693)
This fixes two issues with the `bench-e2e` binary / benchmark: * Running in `single` mode was not working because of a `FeeTooSmallUTxO` error * The `results.csv` is written into a temporary directory and removed, which makes plotting impossible. I was in the mood of some refactoring so this contains also various other changes I encountered while working on the code and I was [tidying up](https://tidyfirst.substack.com/p/the-life-changing-magic-of-tidying) a bit. The refactoring separated hydra node and payment keys further, which requires the datasets to be re-generated. I took the freedom to generate with `--scaling-factor 10` which results in `300` transactions per client. Should be long enough to identify regressions, with **hopefully 10x shorter benchmark time** in CI. Another benefit of this separation is that it naturally led to reducing the assumptions of the `demo` mode by not seeding the hydra node cardano keys, but re-using `seed-devnet.sh` and consequently looser coupling between the workload and container setup in our network test workflow. I'm not 100% happy with how the bench is now requiring the `--output-directory` to be empty, and in turn the whole state will be captured as an artifact of our CI. Instead, making the state directory always a /tmp path and retained in case of errors (or configurable with `--state-directory`) would be better. But that can go into another PR .. another time. --- * [x] CHANGELOG updated * [x] Documentation updatedx (README) * [x] Haddocks updated * [x] No new TODOs introduced or explained herafter - Two XXX notes of what to improve further
- Loading branch information
Showing
18 changed files
with
384 additions
and
419 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
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
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
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
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
Oops, something went wrong.