refactor(tvix): Make benchmark script directory-agnostic

Allow running the benchmark script from any directory - primarily so
Windtunnel can point to the /tvix josh workspace rather than the depot
overall

Change-Id: Ie5fc3ef995bf8114277298ae5c5010e6a0bf13ac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10205
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Aspen Smith 2023-12-06 11:14:16 -05:00 committed by clbot
parent e59d263b44
commit 0b524890e9

View file

@ -5,6 +5,6 @@
set -euo pipefail
echo "Running benchmarks for tvix/eval..."
cd tvix/eval
cd "$(dirname "$(dirname "$0")")/eval"
docker run --rm -v "$(pwd):/app" -w /app rust cargo bench
windtunnel-cli report -f criterion-rust .