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

Add link to the weight comparison tool for weights PRs #1788

Merged
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
Update scripts/create-benchmark-pr.sh
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
  • Loading branch information
joao-paulo-parity and chevdor authored Oct 21, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 78e52db21ff18c4608bfea440d0faf5a8dbae52e
4 changes: 3 additions & 1 deletion scripts/create-benchmark-pr.sh
Original file line number Diff line number Diff line change
@@ -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&"