Skip to content

Commit

Permalink
chore(runtime): update weights (#3432)
Browse files Browse the repository at this point in the history
Co-authored-by: breathx <[email protected]>
Co-authored-by: Dmitry Novikov <[email protected]>
  • Loading branch information
3 people authored Oct 22, 2023
1 parent 84dd258 commit 57df8b3
Show file tree
Hide file tree
Showing 9 changed files with 3,183 additions and 3,191 deletions.
2 changes: 1 addition & 1 deletion pallets/gear/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14528,7 +14528,7 @@ fn remove_from_waitlist_after_exit_reply() {
RuntimeOrigin::signed(USER_1),
reply.id(),
vec![],
1_000_000_000,
1_500_000_000,
0,
false,
));
Expand Down
3,142 changes: 1,569 additions & 1,573 deletions pallets/gear/src/weights.rs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions runtime/vara/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ fn instruction_weights_heuristics_test() {
call_indirect: 22_100,
call_indirect_per_param: 2_000,

local_get: 600,
local_get: 900,
local_set: 1_900,
local_tee: 1_500,
local_tee: 2_500,
global_get: 2_000,
global_set: 3_000,
memory_current: 14_200,
Expand Down Expand Up @@ -141,8 +141,8 @@ fn page_costs_heuristic_test() {
lazy_pages_signal_write_after_read: 10_650_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_280_000.into(),
load_page_data: 9_700_000.into(),
lazy_pages_host_func_write_after_read: 11_000_000.into(),
load_page_data: 10_800_000.into(),
upload_page_data: 104_000_000.into(),
static_page: 100.into(),
mem_grow: 906_170.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: 9_700_000.into(),
load_page_storage_data: 10_700_000.into(),
};

check_pages_weights(
Expand Down
78 changes: 39 additions & 39 deletions runtime/vara/src/weights/frame_system.rs

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

90 changes: 45 additions & 45 deletions runtime/vara/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 57df8b3

Please sign in to comment.