Skip to content

Commit

Permalink
Include shelley latency benchmark in nightly run
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Jul 8, 2020
1 parent 631e191 commit d981203
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .buildkite/bench-latency.sh
Expand Up @@ -3,21 +3,23 @@

set -euo pipefail

bench_name_jormungandr=bench-latency-jormungandr
bench_name_byron=bench-latency-byron

echo "--- Build"
nix-build -A benchmarks.cardano-wallet-jormungandr.latency -o $bench_name_jormungandr
nix-build -A benchmarks.cardano-wallet-byron.latency -o $bench_name_byron
nix-build -A benchmarks.cardano-wallet-jormungandr.latency -o bench-latency-jormungandr
nix-build -A benchmarks.cardano-wallet-byron.latency -o bench-latency-byron
nix-build -A benchmarks.cardano-wallet-shelley.latency -o bench-latency-byron

# 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 - byron"

./$bench_name_byron/bin/latency
./bench-latency-byron/bin/latency

echo "+++ Run benchmark - shelley"

./bench-latency-shelley/bin/latency

echo "+++ Run benchmark - jormungandr"

./$bench_name_jormungandr/bin/latency
./bench-latency-jormungandr/bin/latency

0 comments on commit d981203

Please sign in to comment.