Files
Donny/강동윤andGitHub a1f3040d93 perf(bench): Run benchmark on a custom runner (#9877)
**Description:**

I configured one custom runner using https://github.com/myoung34/docker-github-actions-runner that has 16 cores and 64GB RAM. It's much quieter than a public GitHub runner, so I'll rely on this for profiling.
2025-01-15 04:37:30 +09:00

14 lines
354 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
crate=$1
# If crate has feature 'concurrent', build it with feature
if [[ $(./scripts/cargo/list-features.sh $crate) == *"concurrent"* ]]; then
echo "Building $crate with feature 'concurrent'"
cargo codspeed build -p $crate --features concurrent
else
echo "Building $crate"
cargo codspeed build -p $crate
fi