Skip to content

Commit

Permalink
only test two commits
Browse files Browse the repository at this point in the history
  • Loading branch information
sezna committed Aug 20, 2024
1 parent 774b801 commit aa73bc1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions bench.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
branch="alex/benching"
echo $(git rev-list --since="1 week ago" $branch)
for commit in $(git rev-list --since="1 week ago" $branch)
do
echo "benching commit" . $commit
cargo criterion --history-id $commit
done
commit_one_week_ago=$(git rev-list -n 1 --before="1 week ago" $branch)
latest_commit=$(git rev-list -n 1 HEAD)

echo "benching commit $commit_one_week_ago"
cargo criterion --history-id $commit_one_week_ago

echo "benching commit $latest_commit"
cargo criterion --history-id $latest_commit

0 comments on commit aa73bc1

Please sign in to comment.