uv/crates/gourgeist/benchmark.sh
konsti 1203f8f9e8
Gourgeist updates (#862)
* Use caching again
* Make clap feature only required for the cli/bin optional
2024-01-09 23:04:15 +00:00

14 lines
350 B
Bash

#!/usr/bin/env bash
set -e
cd "$(git rev-parse --show-toplevel)"
virtualenv --version
cargo build --profile profiling --bin gourgeist --features cli
hyperfine --warmup 1 --shell none --prepare "rm -rf target/venv-benchmark" \
"target/profiling/gourgeist -p 3.11 target/venv-benchmark" \
"virtualenv -p 3.11 --no-seed target/venv-benchmark"