diff options
Diffstat (limited to 'tvix/scripts/bench.sh')
-rwxr-xr-x | tvix/scripts/bench.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tvix/scripts/bench.sh b/tvix/scripts/bench.sh deleted file mode 100755 index 548a9d2058d3..000000000000 --- a/tvix/scripts/bench.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash ../.. -A tvix.shell - -# Benchmark script that runs inside the Windtunnel build agent - -set -euo pipefail - -echo "Running benchmarks for tvix/eval..." -pushd "$(dirname "$(dirname "$0")")/eval" -cargo bench -windtunnel-cli report -f criterion-rust . -popd - -echo "Running tvix macrobenchmarks..." -pushd "$(dirname "$(dirname "$0")")" -cargo build --release --bin tvix -hyperfine --export-json ./results.json \ - -n 'eval-nixpkgs-hello' "target/release/tvix -E '(import ../../nixpkgs {}).hello.outPath'" \ - -n 'eval-nixpkgs-cross-hello' "target/release/tvix -E '(import ../../nixpkgs {}).pkgsCross.aarch64-multiplatform.hello.outPath'" -windtunnel-cli report -f hyperfine-json ./results.json -popd |