Skip to content

Commit

Permalink
Update benchmarks (#31)
Browse files Browse the repository at this point in the history
* Update benchmarks

* Update version

* Update production version; Change max batch calls

* Update toml

* Fix pipeline version

* Fix pipeline version

* Updated confidential_assets weights

* Fix typo

* Run all benchmarks with simd_backend

* Update weights after curve25519 change.

---------

Co-authored-by: Adam Dossa <adam.dossa@gmail.com>
Co-authored-by: Robert G. Jakabosky <rjakabosky+neopallium@neoawareness.com>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 7fb0936 commit 22aa353
Show file tree
Hide file tree
Showing 36 changed files with 1,765 additions and 1,652 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polymesh-private"
version = "2.0.0"
version = "2.0.1"
authors = ["PolymeshAssociation"]
build = "build.rs"
edition = "2021"
Expand Down
177 changes: 92 additions & 85 deletions pallets/confidential-asset/src/weights.rs

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions pallets/weights/src/frame_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-11-25, STEPS: `100`, REPEAT: 5, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-11-16, STEPS: `100`, REPEAT: 5, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 512
//! HOSTNAME: `Ubuntu-2204-jammy-amd64-base`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
// Executed Command:
// ./target/release/polymesh-private
// ./polymesh-private
// benchmark
// pallet
// -s
// 100
// -r
// 5
// -p=frame_system
// -p=*
// -e=*
// --heap-pages
// 4096
Expand All @@ -41,9 +41,9 @@
// --wasm-execution
// compiled
// --output
// ./pallets/weights/src/
// ./Polymesh-private/pallets/weights/src/
// --template
// ./.maintain/frame-weight-template.hbs
// ./Polymesh-private/.maintain/frame-weight-template.hbs

#![allow(unused_parens)]
#![allow(unused_imports)]
Expand All @@ -53,58 +53,58 @@ use polymesh_runtime_common::{RocksDbWeight as DbWeight, Weight};
/// Weights for frame_system using the Substrate node and recommended hardware.
pub struct SubstrateWeight;
impl frame_system::WeightInfo for SubstrateWeight {
/// The range of component `b` is `[0, 7864320]`.
/// The range of component `b` is `[0, 8912896]`.
fn remark(b: u32) -> Weight {
// Minimum execution time: 1_974 nanoseconds.
Weight::from_ref_time(14_220_215)
// Minimum execution time: 1_754 nanoseconds.
Weight::from_ref_time(22_743_190)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(183).saturating_mul(b.into()))
.saturating_add(Weight::from_ref_time(180).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 7864320]`.
/// The range of component `b` is `[0, 8912896]`.
fn remark_with_event(b: u32) -> Weight {
// Minimum execution time: 6_071 nanoseconds.
Weight::from_ref_time(6_261_000)
// Standard Error: 4
.saturating_add(Weight::from_ref_time(936).saturating_mul(b.into()))
// Minimum execution time: 5_650 nanoseconds.
Weight::from_ref_time(21_289_007)
// Standard Error: 1
.saturating_add(Weight::from_ref_time(808).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
// Proof Skipped: unknown `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Minimum execution time: 3_316 nanoseconds.
Weight::from_ref_time(3_477_000)
// Minimum execution time: 2_966 nanoseconds.
Weight::from_ref_time(3_676_000)
.saturating_add(DbWeight::get().reads(1))
.saturating_add(DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32) -> Weight {
// Minimum execution time: 1_833 nanoseconds.
Weight::from_ref_time(1_874_000)
// Standard Error: 2_627
.saturating_add(Weight::from_ref_time(766_525).saturating_mul(i.into()))
// Minimum execution time: 1_683 nanoseconds.
Weight::from_ref_time(1_743_000)
// Standard Error: 4_709
.saturating_add(Weight::from_ref_time(754_834).saturating_mul(i.into()))
.saturating_add(DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32) -> Weight {
// Minimum execution time: 2_014 nanoseconds.
Weight::from_ref_time(2_074_000)
// Standard Error: 1_491
.saturating_add(Weight::from_ref_time(530_900).saturating_mul(i.into()))
// Minimum execution time: 1_804 nanoseconds.
Weight::from_ref_time(1_894_000)
// Standard Error: 2_117
.saturating_add(Weight::from_ref_time(477_876).saturating_mul(i.into()))
.saturating_add(DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32) -> Weight {
// Minimum execution time: 3_798 nanoseconds.
Weight::from_ref_time(18_333_710)
// Standard Error: 5_932
.saturating_add(Weight::from_ref_time(872_201).saturating_mul(p.into()))
// Minimum execution time: 3_316 nanoseconds.
Weight::from_ref_time(3_366_000)
// Standard Error: 1_989
.saturating_add(Weight::from_ref_time(843_102).saturating_mul(p.into()))
.saturating_add(DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
Expand Down
Loading

0 comments on commit 22aa353

Please sign in to comment.