Skip to content

Commit

Permalink
Merge pull request #143 from galacticcouncil/bug/nftbench
Browse files Browse the repository at this point in the history
fix: rebench nft weights
  • Loading branch information
green-jay authored Aug 29, 2021
2 parents 8a319bd + 01bfd83 commit 7223a1c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions runtime/src/weights/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@
//! Autogenerated weights for pallet_nft
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-27, STEPS: 5, REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! DATE: 2021-08-29, STEPS: 50, REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("benchmarks"), DB CACHE: 128
// Executed Command:
// target/release/basilisk
// benchmark
// --chain=benchmarks
// --steps=5
// --steps=50
// --repeat=20
// --pallet=pallet_nft
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --template=.maintain/pallet-weight-template-no-back.hbs
// --pallet=pallet_nft
// --output=nft.rs
// --extrinsic=*
// --template=.maintain/pallet-weight-template-no-back.hbs

#![allow(unused_parens)]
#![allow(unused_imports)]
Expand All @@ -51,47 +51,47 @@ pub struct BasiliskWeight<T>(PhantomData<T>);

impl<T: frame_system::Config> WeightInfo for BasiliskWeight<T> {
fn create_class() -> Weight {
(51_503_000 as Weight)
(51_787_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn create_pool() -> Weight {
(54_639_000 as Weight)
(53_595_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn mint() -> Weight {
(63_642_000 as Weight)
(54_003_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn transfer() -> Weight {
(594_349_000 as Weight)
(52_063_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn destroy_class() -> Weight {
(58_150_000 as Weight)
(57_712_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn destroy_pool() -> Weight {
(61_538_000 as Weight)
(60_224_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn burn() -> Weight {
(586_429_000 as Weight)
(52_088_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn buy_from_pool() -> Weight {
(609_155_000 as Weight)
(62_220_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn sell_to_pool() -> Weight {
(602_538_000 as Weight)
(62_693_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand Down

0 comments on commit 7223a1c

Please sign in to comment.