mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 08:35:40 +00:00
[CI] Add manual Gitlab job for running all benchmarks (#3515)
* initial weights job * add artifact * revertme: changes to test branch * add benchmarking instructions * Revert "revertme: changes to test branch" This reverts commit 2eab22037223967e66a70a16fda14f58e41c6ced. * add kusama + westend weights jobs * fix chevdor comments * add temporary changes for testing again * fix * fix * test sccache fix * Revert "add temporary changes for testing again" This reverts commit bb5a7660151f404994c85abfff31502aac89c1d1. * whitespace
This commit is contained in:
+16
-2
@@ -134,8 +134,22 @@ date to include them.
|
||||
|
||||
### Benchmarks
|
||||
|
||||
Run the benchmarking suite with the new runtime and update any function weights
|
||||
if necessary.
|
||||
There are three benchmarking machines reserved for updating the weights at
|
||||
release-time. To initialise a benchmark run for each production runtime
|
||||
(westend, kusama, polkadot):
|
||||
* Go to https://gitlab.parity.io/parity/polkadot/-/pipelines?page=1&scope=branches&ref=master
|
||||
* Click the link to the last pipeline run for master
|
||||
* Start each of the manual jobs:
|
||||
* 'update_westend_weights'
|
||||
* 'update_polkadot_weights'
|
||||
* 'update_kusama_weights'
|
||||
* When these jobs have completed (it takes a few hours), a git PATCH file will
|
||||
be available to download as an artifact.
|
||||
* On your local machine, branch off master
|
||||
* Download the patch file and apply it to your branch with `git patch patchfile.patch`
|
||||
* Commit the changes to your branch and submit a PR against master
|
||||
* The weights should be (Currently manually) checked to make sure there are no
|
||||
big outliers (i.e., twice or half the weight).
|
||||
|
||||
### Polkadot JS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user