diff options
author | Aspen Smith <grfn@gws.fyi> | 2023-12-06T16·14-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-06T16·19+0000 |
commit | 0b524890e91799eecf6557325876478a13682406 (patch) | |
tree | 42d4b01b3d8a9da08eb642bbb0c87a52427985ff /tvix | |
parent | e59d263b44327bd44e1e71d45c1a7f6d4495f5b3 (diff) |
refactor(tvix): Make benchmark script directory-agnostic r/7123
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
Diffstat (limited to 'tvix')
-rwxr-xr-x | tvix/scripts/bench.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/scripts/bench.sh b/tvix/scripts/bench.sh index 678a37e2a314..5598087a0cf7 100755 --- a/tvix/scripts/bench.sh +++ b/tvix/scripts/bench.sh @@ -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 . |