mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00

This PR copies over the `gourgeist` crate at commit `e64c17a263dac6933702dc8d155425c053fe885a` with no modifications. It won't pass CI, but modifications will intentionally be confined to later PRs.
16 lines
516 B
Bash
16 lines
516 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
virtualenv --version
|
|
|
|
#cargo build --profile profiling
|
|
cargo build --release #--features parallel
|
|
# Benchmarking trick! strip your binaries ٩( ∂‿∂ )۶
|
|
strip target/release/gourgeist
|
|
|
|
echo "## Bare"
|
|
hyperfine --warmup 1 --prepare "rm -rf target/a" "virtualenv -p 3.11 --no-seed target/a" "target/release/gourgeist -p 3.11 --bare target/a"
|
|
echo "## Default"
|
|
hyperfine --warmup 1 --prepare "rm -rf target/a" "virtualenv -p 3.11 target/a" "target/release/gourgeist -p 3.11 target/a"
|
|
|