Skip to content

Commit

Permalink
Fix .buildkite/bench-latency.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Jul 3, 2020
1 parent 7ed2c93 commit 081ccfe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .buildkite/bench-latency.sh
Expand Up @@ -3,23 +3,25 @@

set -euo pipefail

cd `dirname $0`/..

echo "--- Build"
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
nix-build -A benchmarks.cardano-wallet-shelley.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 - byron"

./bench-latency-byron/bin/latency
( cd lib/byron && ../../bench-latency-byron/bin/latency )

echo "+++ Run benchmark - shelley"

./bench-latency-shelley/bin/latency
( cd lib/shelley && ../../bench-latency-shelley/bin/latency )

echo "+++ Run benchmark - jormungandr"

./bench-latency-jormungandr/bin/latency
( cd lib/jormungandr && ../../bench-latency-jormungandr/bin/latency )

0 comments on commit 081ccfe

Please sign in to comment.