mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +00:00
Add production profile to substrate-wasm-builder (#10747)
* Add production profile to wasm builder * Fix profile detection * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Replace panic! by println! + exit * Default to `release` for wasm on debug builds * Replaced unwrap by expect * Update all weights Rerun on the bm2 server. 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 --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
committed by
GitHub
parent
21d5573b25
commit
f3168c3fa0
Generated
+13
-3
@@ -508,7 +508,7 @@ dependencies = [
|
||||
"sp-keystore",
|
||||
"sp-runtime",
|
||||
"sp-tracing",
|
||||
"strum",
|
||||
"strum 0.22.0",
|
||||
"substrate-prometheus-endpoint",
|
||||
"thiserror",
|
||||
"wasm-timer",
|
||||
@@ -5710,7 +5710,7 @@ dependencies = [
|
||||
"sp-std",
|
||||
"sp-tracing",
|
||||
"static_assertions",
|
||||
"strum",
|
||||
"strum 0.22.0",
|
||||
"strum_macros 0.23.1",
|
||||
]
|
||||
|
||||
@@ -9742,7 +9742,7 @@ dependencies = [
|
||||
"lazy_static",
|
||||
"sp-core",
|
||||
"sp-runtime",
|
||||
"strum",
|
||||
"strum 0.22.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -10219,6 +10219,15 @@ dependencies = [
|
||||
"strum_macros 0.22.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "strum"
|
||||
version = "0.23.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb"
|
||||
dependencies = [
|
||||
"strum_macros 0.23.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "strum_macros"
|
||||
version = "0.22.0"
|
||||
@@ -10479,6 +10488,7 @@ dependencies = [
|
||||
"build-helper",
|
||||
"cargo_metadata",
|
||||
"sp-maybe-compressed-blob",
|
||||
"strum 0.23.0",
|
||||
"tempfile",
|
||||
"toml",
|
||||
"walkdir",
|
||||
|
||||
Reference in New Issue
Block a user