Skip to content

Commit 59f4df1

Browse files
committed
Fix benchmarks in CI
1 parent d17a6a8 commit 59f4df1

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples/aobench/benchmark.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fi
3434

3535
for alg in "${ALGS[@]}"
3636
do
37-
hyperfine "target/release/aobench ${WIDTH} ${HEIGHT} --algo ${alg}"
37+
hyperfine "../target/release/aobench ${WIDTH} ${HEIGHT} --algo ${alg}"
3838
done
3939

4040
echo "Benchmark 128-bit wide vectors"
@@ -43,5 +43,5 @@ RUSTFLAGS="-C target-cpu=native ${RUSTFLAGS}" \
4343
--features="${FEATURES}"
4444
for alg in "${ALGS[@]}"
4545
do
46-
hyperfine "target/release/aobench ${WIDTH} ${HEIGHT} --algo ${alg}"
46+
hyperfine "../target/release/aobench ${WIDTH} ${HEIGHT} --algo ${alg}"
4747
done

examples/mandelbrot/benchmark.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ if [[ "${NORUN}" == "1" ]]; then
2727
exit 0
2828
fi
2929

30-
hyperfine "target/release/mandelbrot ${WIDTH} ${HEIGHT} --algo scalar"
31-
hyperfine "target/release/mandelbrot ${WIDTH} ${HEIGHT} --algo simd"
30+
hyperfine "../target/release/mandelbrot ${WIDTH} ${HEIGHT} --algo scalar"
31+
hyperfine "../target/release/mandelbrot ${WIDTH} ${HEIGHT} --algo simd"
3232

3333
if echo "$FEATURES" | grep -q "ispc"; then
34-
hyperfine "target/release/mandelbrot ${WIDTH} ${HEIGHT} --algo ispc"
34+
hyperfine "../target/release/mandelbrot ${WIDTH} ${HEIGHT} --algo ispc"
3535
fi

examples/options_pricing/benchmark.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727

2828
#for alg in "${ALGS[@]}"
2929
#do
30-
# hyperfine "target/release/options_pricing ${NUM_OPTIONS_BLACK_SCHOLES} ${alg}"
30+
# hyperfine "../target/release/options_pricing ${NUM_OPTIONS_BLACK_SCHOLES} ${alg}"
3131
#done
3232

3333
# Binomial put:
@@ -40,5 +40,5 @@ NUM_OPTIONS_BINOMIAL_PUT=500000
4040

4141
for alg in "${ALGS[@]}"
4242
do
43-
hyperfine "target/release/options_pricing ${NUM_OPTIONS_BINOMIAL_PUT} ${alg}"
43+
hyperfine "../target/release/options_pricing ${NUM_OPTIONS_BINOMIAL_PUT} ${alg}"
4444
done

examples/stencil/benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ fi
3030

3131
for alg in "${algs[@]}"
3232
do
33-
hyperfine "target/release/stencil ${alg}"
33+
hyperfine "../target/release/stencil ${alg}"
3434
done

0 commit comments

Comments
 (0)