Benchmarks script improvements#2214
Conversation
| repeat=${5:-20} | ||
|
|
||
| benchmarkOutput=./parachains/runtimes/$category/$runtimeName/src/weights | ||
| benchmarkRuntimeName="$runtimeName-dev" |
There was a problem hiding this comment.
@muharem
what about renaming benchmarkRuntimeName -> benchmarkRuntimeChain ?
There was a problem hiding this comment.
runtimes have names. chains are run by nodes and run runtimes.
bkontur
left a comment
There was a problem hiding this comment.
very nice to remove those IFs :)
|
bot rebase |
|
Rebased |
|
bot merge |
|
Waiting for commit status. |
| cut -d',' -f1 |\ | ||
| sort |\ | ||
| uniq | ||
| )) |
There was a problem hiding this comment.
this is assuming that all pallets will get benchmarked. Just wondering if there's any pallets left that we currently still use hardcoded substrate weights from? I guess if you've run this for low repetitions and had no trouble then this should be fine.
There was a problem hiding this comment.
no, it does not. if the pallet not listed in define_benchmarks macro, it wont be returned by the command
* master: (35 commits) add turboflakes system-chains bootnodes (#2223) Companion for #13349 (#2217) bump `zombienet` version to v1.3.35 (#2226) [ci] Return benchmark to bm machines (#2225) Collectives chain xcm filter (#2222) Add metaspan.io parachain boot nodes (#2218) Companion for #13390 (#2189) `BlockId` removal: `BlockBuilderProvider::new_block_at` (#2219) Benchmarks script improvements (#2214) `BlockId` removal: refactor of runtime API (#2190) Rename .feature extension to .zndsl (#2215) Companion for paritytech/polkadot#6744: Retire `OldV1SessionInfo` (#2213) WIP: Fix templates (#2204) Add stake.plus bootnodes to collectives-westend and bridge-hub-kusama (#2201) Polkadot companion #6603: Use a `BoundedVec` in `ValidationResult` (#2161) Bump clap from 4.1.4 to 4.1.6 (#2193) Bump toml from 0.6.0 to 0.7.2 (#2170) companion for paritytech/polkadot#6161 (#2151) Bump serde_json from 1.0.92 to 1.0.93 (#2175) add warp_sync_params (#1909) ...
The updated scripts are backward compatible.
Updates: