mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-02 08:17:24 +00:00
a2afadb123
* Add host info to weight templates Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by: Parity Bot <admin@parity.io>
Shared code
Contains code that is shared among multiple sub-commands.
Arguments
--mulMultiply the result with a factor. Can be used to manually adjust for future chain growth.--addAdd a value to the result. Can be used to manually offset the results.--metricSet the metric to use for calculating the final weight from the raw data. Defaults toaverage.--weight-pathSet the file or directory to write the weight files to.--dbThe database backend to use. This depends on your snapshot.--pruningSet the pruning mode of the node. Some benchmarks require you to set this toarchive.--base-pathThe location on the disk that should be used for the benchmarks. You can try this on different disks or even on a mounted RAM-disk. It is important to use the same location that will later-on be used to store the chain data to get the correct results.
License: Apache-2.0