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

Add script for performing compilation size regression investigations. #15303

Merged
merged 8 commits into from
Nov 26, 2021
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
Prev Previous commit
Next Next commit
Updated usage output.
  • Loading branch information
tzarc committed Nov 26, 2021
commit 472a32ddec22b079c5fdebd6505728c120a8290f
17 changes: 7 additions & 10 deletions util/size_regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ ignore_ref="master"
unset skip_zero

function usage() {
echo "Usage: $(basename "$0") [-j <jobs>] [-s <source>] [-d <dest>] [-n] planck/rev6:default"
echo " -j <threads> : change the number of threads to execute with"
echo " defaults to \`$job_count\`"
echo " -s <source> : use source commit, branch, tag, or sha1 to start the search"
echo " defaults to \`$source_ref\`"
echo " -d <dest> : use destination commit, branch, tag, or sha1 to end the search"
echo " defaults to \`$dest_ref\`"
echo " -i <ignore> : the branch to ignore refs from"
echo " defaults to \`$ignore_ref\`"
echo " -n : skips printing changes if the delta is zero"
echo "Usage: $(basename "$0") [-h] [-j <jobs>] [-s <source>] [-d <dest>] [-n] planck/rev6:default"
echo " -h : Shows this usage page."
echo " -j <threads> : Change the number of threads to execute with. Defaults to \`$job_count\`."
echo " -s <source> : Use source commit, branch, tag, or sha1 to start the search. Defaults to \`$source_ref\`."
echo " -d <dest> : Use destination commit, branch, tag, or sha1 to end the search. Defaults to \`$dest_ref\`."
echo " -i <ignore> : The branch to ignore refs from. Defaults to \`$ignore_ref\`."
echo " -n : Skips printing changes if the delta is zero."
exit 1
}

Expand Down