Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
68209b7a
Commit
68209b7a
authored
3 years ago
by
Mara Broda
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: use production profile for benchmarks (#5100)
parent
3e357ec0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
polkadot/.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
polkadot/.gitlab-ci.yml
polkadot/scripts/run_benches_for_runtime.sh
+2
-1
2 additions, 1 deletion
polkadot/scripts/run_benches_for_runtime.sh
with
4 additions
and
2 deletions
polkadot/.gitlab-ci.yml
+
2
−
1
View file @
68209b7a
...
...
@@ -514,12 +514,13 @@ update_polkadot_weights: &update-weights
stage
:
stage2
when
:
manual
variables
:
PROFILE
:
production
RUNTIME
:
polkadot
artifacts
:
paths
:
-
${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
script
:
-
./scripts/run_benches_for_runtime.sh $RUNTIME
-
./scripts/run_benches_for_runtime.sh $RUNTIME
$PROFILE
-
git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
# uses the "shell" executors
tags
:
...
...
This diff is collapsed.
Click to expand it.
polkadot/scripts/run_benches_for_runtime.sh
+
2
−
1
View file @
68209b7a
...
...
@@ -5,7 +5,8 @@
# current reference machine: https://github.com/paritytech/substrate/pull/5848
runtime
=
"
$1
"
standard_args
=
"--release --locked --features=runtime-benchmarks"
profile
=
"
$2
"
standard_args
=
"--profile
$profile
--locked --features=runtime-benchmarks"
echo
"[+] Running all benchmarks for
$runtime
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment