Skip to content

Commit

Permalink
Use default commit abbreviation
Browse files Browse the repository at this point in the history
  • Loading branch information
berestovskyy committed Dec 11, 2024
1 parent 35fd5c3 commit 44e6fe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/execution_environment/benches/summarize-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ while read min_bench; do
done <"${MIN_FILE}"

# Produce a summary.
baseline_commit=$(git rev-list --abbrev-commit -1 HEAD "${BASELINE_FILE}" | head -c 9)
min_commit=$(git rev-list --abbrev-commit -1 HEAD | head -c 9)
baseline_commit=$(git rev-list --abbrev-commit -1 HEAD "${BASELINE_FILE}")
min_commit=$(git rev-list --abbrev-commit -1 HEAD)
total_diff=$(echo_diff "${total_baseline_ns}" "${total_new_ns}")
printf "= ${baseline_commit}..${min_commit}: ${NAME} total time: $((total_new_ns / 1000 / 1000)) ms "
case "${total_diff}" in
Expand Down

0 comments on commit 44e6fe4

Please sign in to comment.