Skip to content

Commit

Permalink
Cocos release v2.0.0 (#235)
Browse files Browse the repository at this point in the history
* update weights

* update weights

* fix conflict

* Update benchmarker.sh

* spec version
  • Loading branch information
Szegoo authored Aug 9, 2024
1 parent d236732 commit d233b41
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion runtime/cocos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("regionx-parachain"),
impl_name: create_runtime_str!("regionx-parachain"),
authoring_version: 1,
spec_version: 1_001_000,
spec_version: 2_000_000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
18 changes: 9 additions & 9 deletions runtime/cocos/src/weights/pallet_market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_market`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-17, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-08-09, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `cocos-instance-1`, CPU: `Intel(R) Xeon(R) CPU @ 2.80GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("cocos")`, DB CACHE: `1024`
Expand Down Expand Up @@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_market::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `325`
// Estimated: `3584`
// Minimum execution time: 26_672_000 picoseconds.
Weight::from_parts(27_442_000, 3584)
// Minimum execution time: 30_352_000 picoseconds.
Weight::from_parts(30_810_000, 3584)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_market::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `465`
// Estimated: `3584`
// Minimum execution time: 28_404_000 picoseconds.
Weight::from_parts(29_128_000, 3584)
// Minimum execution time: 31_799_000 picoseconds.
Weight::from_parts(32_517_000, 3584)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -100,8 +100,8 @@ impl<T: frame_system::Config> pallet_market::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `465`
// Estimated: `3584`
// Minimum execution time: 24_496_000 picoseconds.
Weight::from_parts(25_202_000, 3584)
// Minimum execution time: 25_000_000 picoseconds.
Weight::from_parts(25_576_000, 3584)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -121,8 +121,8 @@ impl<T: frame_system::Config> pallet_market::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `924`
// Estimated: `6156`
// Minimum execution time: 70_803_000 picoseconds.
Weight::from_parts(72_225_000, 6156)
// Minimum execution time: 72_990_000 picoseconds.
Weight::from_parts(75_007_000, 6156)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand Down
18 changes: 9 additions & 9 deletions runtime/cocos/src/weights/pallet_orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_orders`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-17, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-08-09, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `cocos-instance-1`, CPU: `Intel(R) Xeon(R) CPU @ 2.80GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("cocos")`, DB CACHE: `1024`
Expand Down Expand Up @@ -68,8 +68,8 @@ impl<T: frame_system::Config> pallet_orders::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `521`
// Estimated: `6156`
// Minimum execution time: 50_750_000 picoseconds.
Weight::from_parts(51_922_000, 6156)
// Minimum execution time: 51_725_000 picoseconds.
Weight::from_parts(54_510_000, 6156)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
Expand All @@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_orders::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `268`
// Estimated: `3531`
// Minimum execution time: 18_634_000 picoseconds.
Weight::from_parts(18_966_000, 3531)
// Minimum execution time: 18_602_000 picoseconds.
Weight::from_parts(19_229_000, 3531)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -106,8 +106,8 @@ impl<T: frame_system::Config> pallet_orders::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `648`
// Estimated: `6156`
// Minimum execution time: 65_095_000 picoseconds.
Weight::from_parts(66_290_000, 6156)
// Minimum execution time: 65_164_000 picoseconds.
Weight::from_parts(66_334_000, 6156)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand All @@ -125,8 +125,8 @@ impl<T: frame_system::Config> pallet_orders::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `811`
// Estimated: `6156`
// Minimum execution time: 65_790_000 picoseconds.
Weight::from_parts(67_088_000, 6156)
// Minimum execution time: 65_346_000 picoseconds.
Weight::from_parts(66_640_000, 6156)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
Expand Down
10 changes: 5 additions & 5 deletions runtime/cocos/src/weights/pallet_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_processor`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-08-04, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-08-09, STEPS: `20`, REPEAT: `50`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `cocos-instance-1`, CPU: `Intel(R) Xeon(R) CPU @ 2.80GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("cocos")`, DB CACHE: `1024`
Expand Down Expand Up @@ -68,8 +68,8 @@ impl<T: frame_system::Config> pallet_processor::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `602`
// Estimated: `3584`
// Minimum execution time: 94_910_000 picoseconds.
Weight::from_parts(97_937_000, 3584)
// Minimum execution time: 93_386_000 picoseconds.
Weight::from_parts(103_669_000, 3584)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
Expand All @@ -85,8 +85,8 @@ impl<T: frame_system::Config> pallet_processor::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `417`
// Estimated: `3584`
// Minimum execution time: 68_127_000 picoseconds.
Weight::from_parts(70_199_000, 3584)
// Minimum execution time: 60_930_000 picoseconds.
Weight::from_parts(62_704_000, 3584)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand Down
24 changes: 12 additions & 12 deletions runtime/cocos/src/weights/pallet_regions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ impl<T: frame_system::Config> pallet_regions::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `3584`
// Minimum execution time: 15_823_000 picoseconds.
Weight::from_parts(16_381_000, 3584)
// Minimum execution time: 16_285_000 picoseconds.
Weight::from_parts(17_070_000, 3584)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -81,8 +81,8 @@ impl<T: frame_system::Config> pallet_regions::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `527`
// Estimated: `3992`
// Minimum execution time: 48_905_000 picoseconds.
Weight::from_parts(49_910_000, 3992)
// Minimum execution time: 48_632_000 picoseconds.
Weight::from_parts(50_431_000, 3992)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
Expand All @@ -96,26 +96,26 @@ impl<T: frame_system::Config> pallet_regions::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `249`
// Estimated: `3584`
// Minimum execution time: 19_555_000 picoseconds.
Weight::from_parts(20_101_000, 3584)
// Minimum execution time: 19_877_000 picoseconds.
Weight::from_parts(20_433_000, 3584)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
fn on_accept() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 809_000 picoseconds.
Weight::from_parts(925_000, 0)
// Minimum execution time: 793_000 picoseconds.
Weight::from_parts(867_000, 0)
}
/// Storage: `Regions::Regions` (r:1 w:1)
/// Proof: `Regions::Regions` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`)
fn on_response() -> Weight {
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `3584`
// Minimum execution time: 12_846_000 picoseconds.
Weight::from_parts(13_208_000, 3584)
// Minimum execution time: 12_775_000 picoseconds.
Weight::from_parts(13_159_000, 3584)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand All @@ -125,8 +125,8 @@ impl<T: frame_system::Config> pallet_regions::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `135`
// Estimated: `3584`
// Minimum execution time: 8_408_000 picoseconds.
Weight::from_parts(8_687_000, 3584)
// Minimum execution time: 8_290_000 picoseconds.
Weight::from_parts(8_623_000, 3584)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
Expand Down

0 comments on commit d233b41

Please sign in to comment.