about summary refs log tree commit diff
path: root/tvix/scripts/bench.sh
blob: 5598087a0cf77d452655f59caa9d1f5b548aac79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

# Benchmark script that runs inside the Windtunnel build agent

set -euo pipefail

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