-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix latency benchmark script (#4183)
- [x] refactored code to pass a configuration parameter via command-line options rather then system environment variables; - [x] refactored code to avoid reading same environment variable twice; - [x] chore: remove obsolete bors script; - [x] add convenient commands to `.justfile` - [x] remove redundant `*-genesis.yaml` config files, use `genesis-*.json` instead. ### Issue Number ADP-3113
- Loading branch information
Showing
22 changed files
with
350 additions
and
735 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 |
---|---|---|
@@ -1,18 +1,12 @@ | ||
#! /usr/bin/env nix-shell | ||
#! nix-shell -i bash -p coreutils buildkite-agent | ||
#! /usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
cd $(dirname $0)/.. | ||
echo "+++ Build & run latency benchmark" | ||
|
||
echo "--- Build" | ||
|
||
nix build .#ci.benchmarks.latency -o bench-latency-shelley | ||
|
||
# Note: the tracing will not work if program output is piped | ||
# to another process (e.g. "tee"). | ||
# It says "Error: Switchboard's queue full, dropping log items!" | ||
|
||
echo "+++ Run benchmark - shelley" | ||
|
||
./bench-latency-shelley/bin/latency | ||
nix shell \ | ||
'.#local-cluster' \ | ||
'.#cardano-node' \ | ||
'.#cardano-wallet' \ | ||
'.#ci.benchmarks.latency' \ | ||
-c latency |
This file was deleted.
Oops, something went wrong.
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.