Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support features in benchmarks #1461

Merged
merged 6 commits into from
Aug 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix bench
  • Loading branch information
raviqqe committed Aug 25, 2024
commit 5b401d1f595beebc8a5b084003446727e73613d2
7 changes: 5 additions & 2 deletions tools/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ set -ex

interpreter=stak-interpret

while getopts i: option; do
while getopts fi: option; do
case $option in
f)
features=$OPTARG
;;
i)
interpreter=$OPTARG
;;
Expand All @@ -27,7 +30,7 @@ cd $(dirname $0)/..
for directory in . cmd/minimal; do
(
cd $directory
cargo build --release
cargo build --release --features ${features:-,}
)
done

Expand Down
Loading