diff --git a/runtime/common/src/weights/pallet_oneshot_account.rs b/runtime/common/src/weights/pallet_oneshot_account.rs index c10f189add24f9cf271280403a7ef373e4042fc7..8a50c766419bb3d029d79538aefe8cb54ab40ff4 100644 --- a/runtime/common/src/weights/pallet_oneshot_account.rs +++ b/runtime/common/src/weights/pallet_oneshot_account.rs @@ -17,19 +17,20 @@ //! Autogenerated weights for `pallet_oneshot_account` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2022-08-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Interpreted, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/release/duniter +// ./duniter // benchmark +// pallet // --chain=dev // --steps=50 // --repeat=20 -// --pallet=pallet_oneshot-account +// --pallet=pallet_oneshot_account // --extrinsic=* // --execution=wasm -// --wasm-execution=compiled +// --wasm-execution=interpreted-i-know-what-i-do // --heap-pages=4096 // --header=./file_header.txt // --output=. @@ -47,7 +48,7 @@ pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo<T> { // Storage: OneshotAccount OneshotAccounts (r:1 w:1) fn create_oneshot_account() -> Weight { - (45_690_000 as Weight) + (941_602_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -55,7 +56,7 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo< // Storage: System BlockHash (r:1 w:0) // Storage: System Account (r:1 w:1) fn consume_oneshot_account() -> Weight { - (50_060_000 as Weight) + (971_453_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -63,7 +64,7 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo< // Storage: System BlockHash (r:1 w:0) // Storage: System Account (r:2 w:2) fn consume_oneshot_account_with_remaining() -> Weight { - (69_346_000 as Weight) + (1_500_781_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/gdev/Cargo.toml b/runtime/gdev/Cargo.toml index c28e43875f7a24561fa9630ca962f99cd5441f3e..77ff1f259b8350a6314cc04ae4da8812093863f5 100644 --- a/runtime/gdev/Cargo.toml +++ b/runtime/gdev/Cargo.toml @@ -36,6 +36,7 @@ runtime-benchmarks = [ 'pallet-provide-randomness/runtime-benchmarks', 'pallet-im-online/runtime-benchmarks', 'pallet-multisig/runtime-benchmarks', + 'pallet-oneshot-account/runtime-benchmarks', 'pallet-preimage/runtime-benchmarks', 'pallet-proxy/runtime-benchmarks', 'pallet-scheduler/runtime-benchmarks',