Skip to content

Commit

Permalink
chore(runtime): Update weights (#3677)
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx authored Jan 22, 2024
1 parent 719c7a8 commit c8c09fc
Show file tree
Hide file tree
Showing 10 changed files with 3,112 additions and 3,122 deletions.
2 changes: 1 addition & 1 deletion pallets/gear/src/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ impl Default for Limits {
impl<T: Config> Default for InstructionWeights<T> {
fn default() -> Self {
Self {
version: 11,
version: 1100,
i64const: cost_instr!(instr_i64const, 1),
i64load: cost_instr!(instr_i64load, 0),
i32load: cost_instr!(instr_i32load, 0),
Expand Down
2,964 changes: 1,480 additions & 1,484 deletions pallets/gear/src/weights.rs

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions runtime/common/src/weights.rs

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

6 changes: 3 additions & 3 deletions runtime/vara/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn instruction_weights_heuristics_test() {
i64extend32s: 800,
i64extendsi32: 800,
i64extendui32: 400,
i32wrapi64: 200,
i32wrapi64: 300,
i64eq: 4_200,
i32eq: 2_200,
i64ne: 4_200,
Expand Down Expand Up @@ -140,12 +140,12 @@ fn page_costs_heuristic_test() {
lazy_pages_signal_write: 33_000_000.into(),
lazy_pages_signal_write_after_read: 10_000_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: 37_500_000.into(),
lazy_pages_host_func_write_after_read: 9_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(),
mem_grow: 1_300_000.into(),
parachain_load_heuristic: 0.into(),
};

Expand Down
86 changes: 43 additions & 43 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.

Loading

0 comments on commit c8c09fc

Please sign in to comment.