1
-
2
1
// This file is part of Astar.
3
2
4
3
// Copyright (C) Stake Technologies Pte.Ltd.
19
18
20
19
//! Autogenerated weights for pallet_balances
21
20
//!
22
- //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4 .0.0-dev
23
- //! DATE: 2023-09-26 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
+ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32 .0.0
22
+ //! DATE: 2024-07-11 , STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
24
23
//! WORST CASE MAP SIZE: `1000000`
25
- //! HOSTNAME: `devserver-01 `, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz`
26
- //! EXECUTION: Some(Wasm) , WASM-EXECUTION: Compiled, CHAIN: Some("shibuya-dev"), DB CACHE: 1024
24
+ //! HOSTNAME: `gh-runner-01-ovh `, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz`
25
+ //! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("shibuya-dev"), DB CACHE: 1024
27
26
28
27
// Executed Command:
29
28
// ./target/release/astar-collator
37
36
// --execution=wasm
38
37
// --wasm-execution=compiled
39
38
// --heap-pages=4096
40
- // --output=./benchmark-results/balances_weights.rs
39
+ // --output=./benchmark-results/shibuya-dev/ balances_weights.rs
41
40
// --template=./scripts/templates/weight-template.hbs
42
41
43
42
#![ cfg_attr( rustfmt, rustfmt_skip) ]
@@ -50,115 +49,119 @@ use core::marker::PhantomData;
50
49
/// Weights for pallet_balances using the Substrate node and recommended hardware.
51
50
pub struct SubstrateWeight < T > ( PhantomData < T > ) ;
52
51
impl < T : frame_system:: Config > pallet_balances:: WeightInfo for SubstrateWeight < T > {
53
- /// Storage: System Account (r:1 w:1)
54
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
55
- /// Storage: UnifiedAccounts EvmToNative (r:1 w:0)
56
- /// Proof: UnifiedAccounts EvmToNative ( max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
52
+ /// Storage: ` System:: Account` (r:1 w:1)
53
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
54
+ /// Storage: ` UnifiedAccounts::NativeToEvm` (r:1 w:0)
55
+ /// Proof: ` UnifiedAccounts::NativeToEvm` (` max_values` : None, ` max_size` : Some(68), added: 2543, mode: ` MaxEncodedLen` )
57
56
fn transfer_allow_death ( ) -> Weight {
58
57
// Proof Size summary in bytes:
59
58
// Measured: `94`
60
59
// Estimated: `3593`
61
- // Minimum execution time: 54_598_000 picoseconds.
62
- Weight :: from_parts ( 55_039_000 , 3593 )
60
+ // Minimum execution time: 45_586_000 picoseconds.
61
+ Weight :: from_parts ( 46_228_000 , 3593 )
63
62
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
64
63
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
65
64
}
66
- /// Storage: System Account (r:1 w:1)
67
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
65
+ /// Storage: ` System:: Account` (r:1 w:1)
66
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
68
67
fn transfer_keep_alive ( ) -> Weight {
69
68
// Proof Size summary in bytes:
70
69
// Measured: `52`
71
70
// Estimated: `3593`
72
- // Minimum execution time: 39_626_000 picoseconds.
73
- Weight :: from_parts ( 40_238_000 , 3593 )
71
+ // Minimum execution time: 31_484_000 picoseconds.
72
+ Weight :: from_parts ( 32_124_000 , 3593 )
74
73
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1_u64 ) )
75
74
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
76
75
}
77
- /// Storage: System Account (r:1 w:1)
78
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
76
+ /// Storage: ` System:: Account` (r:1 w:1)
77
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
79
78
fn force_set_balance_creating ( ) -> Weight {
80
79
// Proof Size summary in bytes:
81
80
// Measured: `140`
82
81
// Estimated: `3593`
83
- // Minimum execution time: 16_675_000 picoseconds.
84
- Weight :: from_parts ( 16_939_000 , 3593 )
82
+ // Minimum execution time: 12_933_000 picoseconds.
83
+ Weight :: from_parts ( 13_286_000 , 3593 )
85
84
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1_u64 ) )
86
85
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
87
86
}
88
- /// Storage: System Account (r:1 w:1)
89
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
90
- /// Storage: UnifiedAccounts EvmToNative (r:1 w:0)
91
- /// Proof: UnifiedAccounts EvmToNative ( max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
87
+ /// Storage: ` System:: Account` (r:1 w:1)
88
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
89
+ /// Storage: ` UnifiedAccounts::NativeToEvm` (r:1 w:0)
90
+ /// Proof: ` UnifiedAccounts::NativeToEvm` (` max_values` : None, ` max_size` : Some(68), added: 2543, mode: ` MaxEncodedLen` )
92
91
fn force_set_balance_killing ( ) -> Weight {
93
92
// Proof Size summary in bytes:
94
93
// Measured: `182`
95
94
// Estimated: `3593`
96
- // Minimum execution time: 26_023_000 picoseconds.
97
- Weight :: from_parts ( 26_587_000 , 3593 )
95
+ // Minimum execution time: 22_605_000 picoseconds.
96
+ Weight :: from_parts ( 23_442_000 , 3593 )
98
97
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
99
98
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
100
99
}
101
- /// Storage: System Account (r:2 w:2)
102
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
103
- /// Storage: UnifiedAccounts EvmToNative (r:1 w:0)
104
- /// Proof: UnifiedAccounts EvmToNative ( max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
100
+ /// Storage: ` System:: Account` (r:2 w:2)
101
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
102
+ /// Storage: ` UnifiedAccounts::NativeToEvm` (r:1 w:0)
103
+ /// Proof: ` UnifiedAccounts::NativeToEvm` (` max_values` : None, ` max_size` : Some(68), added: 2543, mode: ` MaxEncodedLen` )
105
104
fn force_transfer ( ) -> Weight {
106
105
// Proof Size summary in bytes:
107
106
// Measured: `197`
108
107
// Estimated: `6196`
109
- // Minimum execution time: 57_231_000 picoseconds.
110
- Weight :: from_parts ( 58_030_000 , 6196 )
108
+ // Minimum execution time: 47_087_000 picoseconds.
109
+ Weight :: from_parts ( 47_709_000 , 6196 )
111
110
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 3_u64 ) )
112
111
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
113
112
}
114
- /// Storage: System Account (r:1 w:1)
115
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
116
- /// Storage: UnifiedAccounts EvmToNative (r:1 w:0)
117
- /// Proof: UnifiedAccounts EvmToNative ( max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
113
+ /// Storage: ` System:: Account` (r:1 w:1)
114
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
115
+ /// Storage: ` UnifiedAccounts::NativeToEvm` (r:1 w:0)
116
+ /// Proof: ` UnifiedAccounts::NativeToEvm` (` max_values` : None, ` max_size` : Some(68), added: 2543, mode: ` MaxEncodedLen` )
118
117
fn transfer_all ( ) -> Weight {
119
118
// Proof Size summary in bytes:
120
119
// Measured: `94`
121
120
// Estimated: `3593`
122
- // Minimum execution time: 51_686_000 picoseconds.
123
- Weight :: from_parts ( 52_193_000 , 3593 )
121
+ // Minimum execution time: 44_690_000 picoseconds.
122
+ Weight :: from_parts ( 45_117_000 , 3593 )
124
123
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
125
124
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
126
125
}
127
- /// Storage: System Account (r:1 w:1)
128
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
126
+ /// Storage: ` System:: Account` (r:1 w:1)
127
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
129
128
fn force_unreserve ( ) -> Weight {
130
129
// Proof Size summary in bytes:
131
130
// Measured: `140`
132
131
// Estimated: `3593`
133
- // Minimum execution time: 19_416_000 picoseconds.
134
- Weight :: from_parts ( 19_850_000 , 3593 )
132
+ // Minimum execution time: 14_694_000 picoseconds.
133
+ Weight :: from_parts ( 15_038_000 , 3593 )
135
134
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1_u64 ) )
136
135
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
137
136
}
138
- /// Storage: System Account (r:999 w:999)
139
- /// Proof: System Account ( max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
137
+ /// Storage: ` System:: Account` (r:999 w:999)
138
+ /// Proof: ` System:: Account` (` max_values` : None, ` max_size` : Some(128), added: 2603, mode: ` MaxEncodedLen` )
140
139
/// The range of component `u` is `[1, 1000]`.
141
140
fn upgrade_accounts ( u : u32 , ) -> Weight {
142
141
// Proof Size summary in bytes:
143
142
// Measured: `0 + u * (136 ±0)`
144
143
// Estimated: `990 + u * (2603 ±0)`
145
- // Minimum execution time: 19_161_000 picoseconds.
146
- Weight :: from_parts ( 19_253_000 , 990 )
147
- // Standard Error: 8_562
148
- . saturating_add ( Weight :: from_parts ( 13_649_240 , 0 ) . saturating_mul ( u. into ( ) ) )
144
+ // Minimum execution time: 14_456_000 picoseconds.
145
+ Weight :: from_parts ( 14_807_000 , 990 )
146
+ // Standard Error: 8_717
147
+ . saturating_add ( Weight :: from_parts ( 10_808_686 , 0 ) . saturating_mul ( u. into ( ) ) )
149
148
. saturating_add ( T :: DbWeight :: get ( ) . reads ( ( 1_u64 ) . saturating_mul ( u. into ( ) ) ) )
150
149
. saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 1_u64 ) . saturating_mul ( u. into ( ) ) ) )
151
150
. saturating_add ( Weight :: from_parts ( 0 , 2603 ) . saturating_mul ( u. into ( ) ) )
152
151
}
152
+ fn force_adjust_total_issuance ( ) -> Weight {
153
+ // Proof Size summary in bytes:
154
+ // Measured: `0`
155
+ // Estimated: `0`
156
+ // Minimum execution time: 5_975_000 picoseconds.
157
+ Weight :: from_parts ( 6_179_000 , 0 )
158
+ }
159
+
153
160
fn burn ( ) -> Weight {
154
161
// Proof Size summary in bytes:
155
162
// Measured: `0`
156
163
// Estimated: `0`
157
164
// Minimum execution time: 30_151_000 picoseconds.
158
165
Weight :: from_parts ( 30_968_000 , 0 )
159
166
}
160
-
161
- fn force_adjust_total_issuance ( ) -> Weight {
162
- Weight :: MAX
163
- }
164
167
}
0 commit comments