Skip to content
Snippets Groups Projects
Commit f95f5af1 authored by Éloïs's avatar Éloïs Committed by Éloïs
Browse files

run real benchmarks for pallet oneshot

parent 680e777a
No related branches found
No related tags found
1 merge request!51Oneshot accounts
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
......@@ -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))
}
......
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment