2018-08-13 15:57:23 -07:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
2018-08-22 07:57:07 -07:00
|
|
|
ci/version-check.sh nightly
|
2018-08-13 15:57:23 -07:00
|
|
|
export RUST_BACKTRACE=1
|
|
|
|
|
|
|
|
_() {
|
|
|
|
echo "--- $*"
|
|
|
|
"$@"
|
|
|
|
}
|
|
|
|
|
2018-09-24 10:20:58 -07:00
|
|
|
set -o pipefail
|
|
|
|
|
2018-09-19 13:16:55 -07:00
|
|
|
BENCH_FILE=bench_output.log
|
2018-09-24 10:40:42 -07:00
|
|
|
_ cargo bench --features=unstable --verbose -- -Z unstable-options --format=json | tee $BENCH_FILE
|
|
|
|
_ cargo run --release --bin solana-upload-perf -- $BENCH_FILE
|