Skip to content

Commit

Permalink
chore(runtime): Update weights (#3243)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs authored Sep 11, 2023
1 parent 0af1c2a commit 0818456
Show file tree
Hide file tree
Showing 16 changed files with 4,779 additions and 4,803 deletions.
3,010 changes: 1,501 additions & 1,509 deletions pallets/gear/src/weights.rs

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions runtime/gear/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ fn instruction_weights_heuristics_test() {
_phantom: core::marker::PhantomData,

i64const: 150,
i64load: 7_000,
i32load: 7_000,
i64load: 11_575,
i32load: 8_000,
i64store: 29_000,
i32store: 20_000,
select: 7_100,
Expand Down Expand Up @@ -138,14 +138,14 @@ fn page_costs_heuristic_test() {
let expected_pages_costs = PageCosts {
lazy_pages_signal_read: 28_000_000.into(),
lazy_pages_signal_write: 33_000_000.into(),
lazy_pages_signal_write_after_read: 8_624_904.into(),
lazy_pages_signal_write_after_read: 9_500_000.into(),
lazy_pages_host_func_read: 29_000_000.into(),
lazy_pages_host_func_write: 33_000_000.into(),
lazy_pages_host_func_write_after_read: 9_245_597.into(),
load_page_data: 8_700_000.into(),
load_page_data: 9_700_000.into(),
upload_page_data: 104_000_000.into(),
static_page: 100.into(),
mem_grow: 276_000.into(),
mem_grow: 906_170.into(),
parachain_load_heuristic: 0.into(),
};

Expand All @@ -156,7 +156,7 @@ fn page_costs_heuristic_test() {
host_func_read: 29_000_000.into(),
host_func_write: 137_000_000.into(),
host_func_write_after_read: 112_000_000.into(),
load_page_storage_data: 8_700_000.into(),
load_page_storage_data: 9_700_000.into(),
};

check_pages_weights(
Expand Down
90 changes: 45 additions & 45 deletions runtime/gear/src/weights/frame_system.rs

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

62 changes: 31 additions & 31 deletions runtime/gear/src/weights/pallet_balances.rs

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

Loading

0 comments on commit 0818456

Please sign in to comment.