-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bench-e2e single mode and keep results #1693
Commits on Oct 10, 2024
-
Fix hydra-cluster bench single by setting a hard-coded fee
This is not ideal, but a lot simpler than doing proper fee calculation. It's unclear why fee calculation was removed before, it is needed when running benchmark scenarios.
Configuration menu - View commit details
-
Copy full SHA for dbc0d84 - Browse repository at this point
Copy the full SHA dbc0d84View commit details -
Remove redundant bench-e2e mode of single + workdir set
This is redundant and can be achieved by using the 'datasets' subcommand.
Configuration menu - View commit details
-
Copy full SHA for ea1d38f - Browse repository at this point
Copy the full SHA ea1d38fView commit details -
Write generated dataset to outputDirectory if given
Before it was written to a random temporary directory, which makes it annoying to generate datasets with this mode.
Configuration menu - View commit details
-
Copy full SHA for d905ddb - Browse repository at this point
Copy the full SHA d905ddbView commit details -
Write results.csv in --output-directory
They hydra-cluster benchmarks now only uses a single directory to store the whole state, which is temporary unless a specific output-directory is requested.
Configuration menu - View commit details
-
Copy full SHA for 8f878a0 - Browse repository at this point
Copy the full SHA 8f878a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b1dfe5 - Browse repository at this point
Copy the full SHA 2b1dfe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 215bc71 - Browse repository at this point
Copy the full SHA 215bc71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46ee433 - Browse repository at this point
Copy the full SHA 46ee433View commit details -
Switch to only use self-transfers in benchmarks
This reduces some code duplication without much loss of expressiveness (which key we use does not matter).
Configuration menu - View commit details
-
Copy full SHA for a6f74a6 - Browse repository at this point
Copy the full SHA a6f74a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4733d4 - Browse repository at this point
Copy the full SHA f4733d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c5d063 - Browse repository at this point
Copy the full SHA 2c5d063View commit details -
Update datasets with new format
Same transaction style (single repending txs), but deliberately smaller length of transactions (3000 -> 300) to have shorter benchmark run-times, while sequence should be long enough to identify regressions. Generated with invocations: cabal run bench-e2e -- single --cluster-size 1 --scaling-factor 10 and cabal run bench-e2e -- single --cluster-size 3 --scaling-factor 10 Plus some manual amending of the JSON to contain a "title".
Configuration menu - View commit details
-
Copy full SHA for 66a2b18 - Browse repository at this point
Copy the full SHA 66a2b18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9317e88 - Browse repository at this point
Copy the full SHA 9317e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0bade5 - Browse repository at this point
Copy the full SHA b0bade5View commit details -
Use and seed hydraNodeKeys in demo mode
As before, the bench-e2e does not assume the hydra node keys to be seeded. This ties the way bench-e2e binary (which hard-codes Alice, Bob and Carol) to the configurable list of --hydra-client to connect to.
Configuration menu - View commit details
-
Copy full SHA for 5a4718c - Browse repository at this point
Copy the full SHA 5a4718cView commit details -
Use seed-devnet and not assume node keys in bench-e2e
This decouples the bench-e2e binary which just produces load and provides statistics more from how the hydra-nodes are run. Now the only assumption is that the 'hydra-cluster/config/credentials/faucet.sk' owns funds on the given network.
Configuration menu - View commit details
-
Copy full SHA for a48d056 - Browse repository at this point
Copy the full SHA a48d056View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec21ac0 - Browse repository at this point
Copy the full SHA ec21ac0View commit details