Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update scripts/create-benchmark-pr.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
  • Loading branch information
joao-paulo-parity and chevdor authored Oct 21, 2022
1 parent 3b95ac9 commit 78e52db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/create-benchmark-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ HEAD_REF="$2"
ORG="paritytech"
REPO="$CI_PROJECT_NAME"
BASE_REF="$CI_COMMIT_BRANCH"
# Change threshold in %. Bigger values excludes the small changes.
THRESHOLD=${THRESHOLD:-30}

WEIGHTS_COMPARISON_URL_PARTS=(
"https://weights.tasty.limo/compare?"
"repo=$REPO&"
"threshold=30&"
"threshold=$THRESHOLD&"
"path_pattern=**%2Fweights%2F*.rs&"
"method=guess-worst&"
"ignore_errors=true&"
Expand Down

0 comments on commit 78e52db

Please sign in to comment.