Skip to content

Commit

Permalink
Tweaks to get benchmarking running again after renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Oct 17, 2024
1 parent 5ce7f4b commit a635afe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions comparison/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ function capture() {

raw_data="${temp_dir}/raw-data.streaming-json"

cargo criterion -p compare --message-format=json -- "${subset}" > "${raw_data}"
echo "Benchmarking with $(rustc --version)"

cargo criterion -p comparison --message-format=json -- "${subset}" > "${raw_data}"

echo "Raw benchmark data captured to ${raw_data}"
echo "Next, run \`${SCRIPT_INVOKED_AS} analyze ${raw_data}\`"
Expand Down Expand Up @@ -50,7 +52,8 @@ case "${mode}" in
;;

*)
echo "Unknown command '${mode}'"
echo "Unknown command '${mode}'" >&2
echo "Known commands: capture, analyze" >&2
exit 1
;;
esac

0 comments on commit a635afe

Please sign in to comment.