Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
bd30cab
trivial change
shawntabrizi Jul 13, 2021
386f06b
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
0980552
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
abd6915
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
5e0a685
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
75d366c
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
0699276
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
149ae53
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
f756bd1
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
0bc9597
Merge branch 'master' of https://github.com/paritytech/substrate into…
Jul 13, 2021
4d33306
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
76736ba
update with master
Jul 13, 2021
dcae7ce
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
8cd5448
Merge branch 'master' of https://github.com/paritytech/substrate into…
Jul 13, 2021
7d75217
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
90f9611
Merge branch 'master' of https://github.com/paritytech/substrate into…
Jul 13, 2021
7aa0f5d
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
b1d287f
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
5c3b679
Merge branch 'master' of https://github.com/paritytech/substrate into…
Jul 13, 2021
896fa94
cargo run --release --features=runtime-benchmarks --manifest-path=bin…
Jul 13, 2021
2c1b454
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
e70b083
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
Jul 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
…path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
  • Loading branch information
Parity Bot committed Jul 13, 2021
commit 098055262b746e5b4bec768462fbeec58ebdca2d
24 changes: 12 additions & 12 deletions frame/balances/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,32 +56,32 @@ pub trait WeightInfo {
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn transfer() -> Weight {
(93_201_000 as Weight)
(91_274_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn transfer_keep_alive() -> Weight {
(68_092_000 as Weight)
(67_587_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_balance_creating() -> Weight {
(37_469_000 as Weight)
(37_756_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_balance_killing() -> Weight {
(45_302_000 as Weight)
(45_335_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_transfer() -> Weight {
(92_058_000 as Weight)
(90_659_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn transfer_all() -> Weight {
(85_013_000 as Weight)
(82_962_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand All @@ -90,32 +90,32 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// For backwards compatibility and tests
impl WeightInfo for () {
fn transfer() -> Weight {
(93_201_000 as Weight)
(91_274_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
fn transfer_keep_alive() -> Weight {
(68_092_000 as Weight)
(67_587_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
fn set_balance_creating() -> Weight {
(37_469_000 as Weight)
(37_756_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
fn set_balance_killing() -> Weight {
(45_302_000 as Weight)
(45_335_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
fn force_transfer() -> Weight {
(92_058_000 as Weight)
(90_659_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
fn transfer_all() -> Weight {
(85_013_000 as Weight)
(82_962_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
Expand Down