about summary refs log tree commit diff
path: root/tvix/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/scripts')
-rwxr-xr-xtvix/scripts/bench.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/scripts/bench.sh b/tvix/scripts/bench.sh
new file mode 100755
index 000000000000..678a37e2a314
--- /dev/null
+++ b/tvix/scripts/bench.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Benchmark script that runs inside the Windtunnel build agent
+
+set -euo pipefail
+
+echo "Running benchmarks for tvix/eval..."
+cd tvix/eval
+docker run --rm -v "$(pwd):/app" -w /app rust cargo bench
+windtunnel-cli report -f criterion-rust .