mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 22:28:02 +00:00
643b69c64d
* Removed `has_duplicates` check form the `deposit_event`. Removed the usage of `Error::DuplicateTopics`. * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts Co-authored-by: command-bot <>
2724 lines
114 KiB
Rust
2724 lines
114 KiB
Rust
// This file is part of Substrate.
|
|
|
|
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
//! Autogenerated weights for pallet_contracts
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// /home/benchbot/cargo_target_dir/production/substrate
|
|
// benchmark
|
|
// pallet
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json
|
|
// --pallet=pallet_contracts
|
|
// --chain=dev
|
|
// --header=./HEADER-APACHE2
|
|
// --output=./frame/contracts/src/weights.rs
|
|
// --template=./.maintain/frame-weight-template.hbs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use sp_std::marker::PhantomData;
|
|
|
|
/// Weight functions needed for pallet_contracts.
|
|
pub trait WeightInfo {
|
|
fn on_process_deletion_queue_batch() -> Weight;
|
|
fn on_initialize_per_trie_key(k: u32, ) -> Weight;
|
|
fn on_initialize_per_queue_item(q: u32, ) -> Weight;
|
|
fn reinstrument(c: u32, ) -> Weight;
|
|
fn call_with_code_per_byte(c: u32, ) -> Weight;
|
|
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight;
|
|
fn instantiate(i: u32, s: u32, ) -> Weight;
|
|
fn call() -> Weight;
|
|
fn upload_code(c: u32, ) -> Weight;
|
|
fn remove_code() -> Weight;
|
|
fn set_code() -> Weight;
|
|
fn seal_caller(r: u32, ) -> Weight;
|
|
fn seal_is_contract(r: u32, ) -> Weight;
|
|
fn seal_code_hash(r: u32, ) -> Weight;
|
|
fn seal_own_code_hash(r: u32, ) -> Weight;
|
|
fn seal_caller_is_origin(r: u32, ) -> Weight;
|
|
fn seal_address(r: u32, ) -> Weight;
|
|
fn seal_gas_left(r: u32, ) -> Weight;
|
|
fn seal_balance(r: u32, ) -> Weight;
|
|
fn seal_value_transferred(r: u32, ) -> Weight;
|
|
fn seal_minimum_balance(r: u32, ) -> Weight;
|
|
fn seal_block_number(r: u32, ) -> Weight;
|
|
fn seal_now(r: u32, ) -> Weight;
|
|
fn seal_weight_to_fee(r: u32, ) -> Weight;
|
|
fn seal_gas(r: u32, ) -> Weight;
|
|
fn seal_input(r: u32, ) -> Weight;
|
|
fn seal_input_per_kb(n: u32, ) -> Weight;
|
|
fn seal_return(r: u32, ) -> Weight;
|
|
fn seal_return_per_kb(n: u32, ) -> Weight;
|
|
fn seal_terminate(r: u32, ) -> Weight;
|
|
fn seal_random(r: u32, ) -> Weight;
|
|
fn seal_deposit_event(r: u32, ) -> Weight;
|
|
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight;
|
|
fn seal_debug_message(r: u32, ) -> Weight;
|
|
fn seal_set_storage(r: u32, ) -> Weight;
|
|
fn seal_set_storage_per_new_kb(n: u32, ) -> Weight;
|
|
fn seal_set_storage_per_old_kb(n: u32, ) -> Weight;
|
|
fn seal_clear_storage(r: u32, ) -> Weight;
|
|
fn seal_clear_storage_per_kb(n: u32, ) -> Weight;
|
|
fn seal_get_storage(r: u32, ) -> Weight;
|
|
fn seal_get_storage_per_kb(n: u32, ) -> Weight;
|
|
fn seal_contains_storage(r: u32, ) -> Weight;
|
|
fn seal_contains_storage_per_kb(n: u32, ) -> Weight;
|
|
fn seal_take_storage(r: u32, ) -> Weight;
|
|
fn seal_take_storage_per_kb(n: u32, ) -> Weight;
|
|
fn seal_transfer(r: u32, ) -> Weight;
|
|
fn seal_call(r: u32, ) -> Weight;
|
|
fn seal_delegate_call(r: u32, ) -> Weight;
|
|
fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight;
|
|
fn seal_instantiate(r: u32, ) -> Weight;
|
|
fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight;
|
|
fn seal_hash_sha2_256(r: u32, ) -> Weight;
|
|
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight;
|
|
fn seal_hash_keccak_256(r: u32, ) -> Weight;
|
|
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight;
|
|
fn seal_hash_blake2_256(r: u32, ) -> Weight;
|
|
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight;
|
|
fn seal_hash_blake2_128(r: u32, ) -> Weight;
|
|
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight;
|
|
fn seal_ecdsa_recover(r: u32, ) -> Weight;
|
|
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight;
|
|
fn seal_set_code_hash(r: u32, ) -> Weight;
|
|
fn seal_reentrance_count(r: u32, ) -> Weight;
|
|
fn seal_account_reentrance_count(r: u32, ) -> Weight;
|
|
fn seal_instantiation_nonce(r: u32, ) -> Weight;
|
|
fn instr_i64const(r: u32, ) -> Weight;
|
|
fn instr_i64load(r: u32, ) -> Weight;
|
|
fn instr_i64store(r: u32, ) -> Weight;
|
|
fn instr_select(r: u32, ) -> Weight;
|
|
fn instr_if(r: u32, ) -> Weight;
|
|
fn instr_br(r: u32, ) -> Weight;
|
|
fn instr_br_if(r: u32, ) -> Weight;
|
|
fn instr_br_table(r: u32, ) -> Weight;
|
|
fn instr_br_table_per_entry(e: u32, ) -> Weight;
|
|
fn instr_call(r: u32, ) -> Weight;
|
|
fn instr_call_indirect(r: u32, ) -> Weight;
|
|
fn instr_call_indirect_per_param(p: u32, ) -> Weight;
|
|
fn instr_call_per_local(l: u32, ) -> Weight;
|
|
fn instr_local_get(r: u32, ) -> Weight;
|
|
fn instr_local_set(r: u32, ) -> Weight;
|
|
fn instr_local_tee(r: u32, ) -> Weight;
|
|
fn instr_global_get(r: u32, ) -> Weight;
|
|
fn instr_global_set(r: u32, ) -> Weight;
|
|
fn instr_memory_current(r: u32, ) -> Weight;
|
|
fn instr_memory_grow(r: u32, ) -> Weight;
|
|
fn instr_i64clz(r: u32, ) -> Weight;
|
|
fn instr_i64ctz(r: u32, ) -> Weight;
|
|
fn instr_i64popcnt(r: u32, ) -> Weight;
|
|
fn instr_i64eqz(r: u32, ) -> Weight;
|
|
fn instr_i64extendsi32(r: u32, ) -> Weight;
|
|
fn instr_i64extendui32(r: u32, ) -> Weight;
|
|
fn instr_i32wrapi64(r: u32, ) -> Weight;
|
|
fn instr_i64eq(r: u32, ) -> Weight;
|
|
fn instr_i64ne(r: u32, ) -> Weight;
|
|
fn instr_i64lts(r: u32, ) -> Weight;
|
|
fn instr_i64ltu(r: u32, ) -> Weight;
|
|
fn instr_i64gts(r: u32, ) -> Weight;
|
|
fn instr_i64gtu(r: u32, ) -> Weight;
|
|
fn instr_i64les(r: u32, ) -> Weight;
|
|
fn instr_i64leu(r: u32, ) -> Weight;
|
|
fn instr_i64ges(r: u32, ) -> Weight;
|
|
fn instr_i64geu(r: u32, ) -> Weight;
|
|
fn instr_i64add(r: u32, ) -> Weight;
|
|
fn instr_i64sub(r: u32, ) -> Weight;
|
|
fn instr_i64mul(r: u32, ) -> Weight;
|
|
fn instr_i64divs(r: u32, ) -> Weight;
|
|
fn instr_i64divu(r: u32, ) -> Weight;
|
|
fn instr_i64rems(r: u32, ) -> Weight;
|
|
fn instr_i64remu(r: u32, ) -> Weight;
|
|
fn instr_i64and(r: u32, ) -> Weight;
|
|
fn instr_i64or(r: u32, ) -> Weight;
|
|
fn instr_i64xor(r: u32, ) -> Weight;
|
|
fn instr_i64shl(r: u32, ) -> Weight;
|
|
fn instr_i64shrs(r: u32, ) -> Weight;
|
|
fn instr_i64shru(r: u32, ) -> Weight;
|
|
fn instr_i64rotl(r: u32, ) -> Weight;
|
|
fn instr_i64rotr(r: u32, ) -> Weight;
|
|
}
|
|
|
|
/// Weights for pallet_contracts using the Substrate node and recommended hardware.
|
|
pub struct SubstrateWeight<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
|
// Storage: Contracts DeletionQueue (r:1 w:0)
|
|
fn on_process_deletion_queue_batch() -> Weight {
|
|
// Minimum execution time: 3_326 nanoseconds.
|
|
Weight::from_ref_time(3_433_000)
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `k` is `[0, 1024]`.
|
|
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
|
|
// Minimum execution time: 15_703 nanoseconds.
|
|
Weight::from_ref_time(15_288_927)
|
|
// Standard Error: 951
|
|
.saturating_add(Weight::from_ref_time(940_816).saturating_mul(k.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
|
}
|
|
// Storage: Contracts DeletionQueue (r:1 w:0)
|
|
/// The range of component `q` is `[0, 128]`.
|
|
fn on_initialize_per_queue_item(q: u32, ) -> Weight {
|
|
// Minimum execution time: 3_548 nanoseconds.
|
|
Weight::from_ref_time(15_764_121)
|
|
// Standard Error: 3_339
|
|
.saturating_add(Weight::from_ref_time(1_214_890).saturating_mul(q.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
// Storage: Contracts PristineCode (r:1 w:0)
|
|
// Storage: Contracts CodeStorage (r:0 w:1)
|
|
/// The range of component `c` is `[0, 64226]`.
|
|
fn reinstrument(c: u32, ) -> Weight {
|
|
// Minimum execution time: 29_801 nanoseconds.
|
|
Weight::from_ref_time(27_932_706)
|
|
// Standard Error: 49
|
|
.saturating_add(Weight::from_ref_time(50_532).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `c` is `[0, 131072]`.
|
|
fn call_with_code_per_byte(c: u32, ) -> Weight {
|
|
// Minimum execution time: 307_894 nanoseconds.
|
|
Weight::from_ref_time(322_346_319)
|
|
// Standard Error: 25
|
|
.saturating_add(Weight::from_ref_time(30_678).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts CodeStorage (r:1 w:1)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: System EventTopics (r:3 w:3)
|
|
// Storage: Contracts PristineCode (r:0 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:0 w:1)
|
|
/// The range of component `c` is `[0, 64226]`.
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
/// The range of component `s` is `[0, 1048576]`.
|
|
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
|
|
// Minimum execution time: 3_610_424 nanoseconds.
|
|
Weight::from_ref_time(583_426_386)
|
|
// Standard Error: 277
|
|
.saturating_add(Weight::from_ref_time(90_224).saturating_mul(c.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_ref_time(1_325).saturating_mul(i.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_ref_time(1_727).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(8))
|
|
.saturating_add(T::DbWeight::get().writes(9))
|
|
}
|
|
// Storage: Contracts CodeStorage (r:1 w:1)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
/// The range of component `s` is `[0, 1048576]`.
|
|
fn instantiate(i: u32, s: u32, ) -> Weight {
|
|
// Minimum execution time: 1_892_996 nanoseconds.
|
|
Weight::from_ref_time(202_958_196)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_ref_time(1_627).saturating_mul(i.into()))
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_ref_time(1_755).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(8))
|
|
.saturating_add(T::DbWeight::get().writes(7))
|
|
}
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
fn call() -> Weight {
|
|
// Minimum execution time: 157_347 nanoseconds.
|
|
Weight::from_ref_time(159_084_000)
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts CodeStorage (r:1 w:1)
|
|
// Storage: System EventTopics (r:1 w:1)
|
|
// Storage: Contracts PristineCode (r:0 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:0 w:1)
|
|
/// The range of component `c` is `[0, 64226]`.
|
|
fn upload_code(c: u32, ) -> Weight {
|
|
// Minimum execution time: 299_987 nanoseconds.
|
|
Weight::from_ref_time(305_274_879)
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_ref_time(91_916).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
// Storage: System EventTopics (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:0 w:1)
|
|
// Storage: Contracts PristineCode (r:0 w:1)
|
|
fn remove_code() -> Weight {
|
|
// Minimum execution time: 40_795 nanoseconds.
|
|
Weight::from_ref_time(41_297_000)
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:2 w:2)
|
|
// Storage: System EventTopics (r:3 w:3)
|
|
fn set_code() -> Weight {
|
|
// Minimum execution time: 41_957 nanoseconds.
|
|
Weight::from_ref_time(42_536_000)
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(6))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_caller(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_544 nanoseconds.
|
|
Weight::from_ref_time(298_981_222)
|
|
// Standard Error: 39_139
|
|
.saturating_add(Weight::from_ref_time(17_278_436).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_is_contract(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_500 nanoseconds.
|
|
Weight::from_ref_time(237_825_284)
|
|
// Standard Error: 450_234
|
|
.saturating_add(Weight::from_ref_time(198_995_806).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_code_hash(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_851 nanoseconds.
|
|
Weight::from_ref_time(258_113_447)
|
|
// Standard Error: 408_747
|
|
.saturating_add(Weight::from_ref_time(237_490_216).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_own_code_hash(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_614 nanoseconds.
|
|
Weight::from_ref_time(301_528_998)
|
|
// Standard Error: 40_613
|
|
.saturating_add(Weight::from_ref_time(20_815_088).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_caller_is_origin(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_088 nanoseconds.
|
|
Weight::from_ref_time(299_120_595)
|
|
// Standard Error: 23_277
|
|
.saturating_add(Weight::from_ref_time(11_130_334).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_address(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_110 nanoseconds.
|
|
Weight::from_ref_time(305_295_787)
|
|
// Standard Error: 48_521
|
|
.saturating_add(Weight::from_ref_time(16_610_806).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_gas_left(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_414 nanoseconds.
|
|
Weight::from_ref_time(299_960_283)
|
|
// Standard Error: 32_003
|
|
.saturating_add(Weight::from_ref_time(16_652_433).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_balance(r: u32, ) -> Weight {
|
|
// Minimum execution time: 292_429 nanoseconds.
|
|
Weight::from_ref_time(301_025_128)
|
|
// Standard Error: 92_155
|
|
.saturating_add(Weight::from_ref_time(92_731_719).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_value_transferred(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_516 nanoseconds.
|
|
Weight::from_ref_time(300_071_428)
|
|
// Standard Error: 25_871
|
|
.saturating_add(Weight::from_ref_time(16_599_369).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_minimum_balance(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_666 nanoseconds.
|
|
Weight::from_ref_time(299_803_599)
|
|
// Standard Error: 24_508
|
|
.saturating_add(Weight::from_ref_time(16_500_973).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_block_number(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_193 nanoseconds.
|
|
Weight::from_ref_time(297_946_784)
|
|
// Standard Error: 43_719
|
|
.saturating_add(Weight::from_ref_time(16_442_254).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_now(r: u32, ) -> Weight {
|
|
// Minimum execution time: 288_897 nanoseconds.
|
|
Weight::from_ref_time(298_856_658)
|
|
// Standard Error: 31_003
|
|
.saturating_add(Weight::from_ref_time(16_490_508).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_weight_to_fee(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_850 nanoseconds.
|
|
Weight::from_ref_time(302_898_449)
|
|
// Standard Error: 92_822
|
|
.saturating_add(Weight::from_ref_time(86_376_874).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_gas(r: u32, ) -> Weight {
|
|
// Minimum execution time: 145_105 nanoseconds.
|
|
Weight::from_ref_time(152_388_934)
|
|
// Standard Error: 29_988
|
|
.saturating_add(Weight::from_ref_time(7_761_947).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_input(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_319 nanoseconds.
|
|
Weight::from_ref_time(298_390_911)
|
|
// Standard Error: 27_329
|
|
.saturating_add(Weight::from_ref_time(14_225_527).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_input_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 305_538 nanoseconds.
|
|
Weight::from_ref_time(339_734_596)
|
|
// Standard Error: 4_636
|
|
.saturating_add(Weight::from_ref_time(9_592_149).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_return(r: u32, ) -> Weight {
|
|
// Minimum execution time: 287_189 nanoseconds.
|
|
Weight::from_ref_time(295_472_383)
|
|
// Standard Error: 314_142
|
|
.saturating_add(Weight::from_ref_time(214_016).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_return_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 289_380 nanoseconds.
|
|
Weight::from_ref_time(296_302_404)
|
|
// Standard Error: 889
|
|
.saturating_add(Weight::from_ref_time(190_017).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts DeletionQueue (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_terminate(r: u32, ) -> Weight {
|
|
// Minimum execution time: 292_383 nanoseconds.
|
|
Weight::from_ref_time(297_557_691)
|
|
// Standard Error: 251_228
|
|
.saturating_add(Weight::from_ref_time(56_688_008).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_random(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_019 nanoseconds.
|
|
Weight::from_ref_time(301_747_439)
|
|
// Standard Error: 92_043
|
|
.saturating_add(Weight::from_ref_time(109_861_144).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_deposit_event(r: u32, ) -> Weight {
|
|
// Minimum execution time: 287_586 nanoseconds.
|
|
Weight::from_ref_time(304_751_302)
|
|
// Standard Error: 127_698
|
|
.saturating_add(Weight::from_ref_time(221_525_053).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `t` is `[0, 4]`.
|
|
/// The range of component `n` is `[0, 16]`.
|
|
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight {
|
|
// Minimum execution time: 1_182_204 nanoseconds.
|
|
Weight::from_ref_time(508_607_957)
|
|
// Standard Error: 503_533
|
|
.saturating_add(Weight::from_ref_time(173_998_655).saturating_mul(t.into()))
|
|
// Standard Error: 138_294
|
|
.saturating_add(Weight::from_ref_time(67_991_373).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(t.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_debug_message(r: u32, ) -> Weight {
|
|
// Minimum execution time: 157_706 nanoseconds.
|
|
Weight::from_ref_time(161_895_583)
|
|
// Standard Error: 14_952
|
|
.saturating_add(Weight::from_ref_time(12_990_237).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_set_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 290_063 nanoseconds.
|
|
Weight::from_ref_time(256_404_853)
|
|
// Standard Error: 436_195
|
|
.saturating_add(Weight::from_ref_time(406_569_743).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_set_storage_per_new_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 426_295 nanoseconds.
|
|
Weight::from_ref_time(582_989_911)
|
|
// Standard Error: 1_404_141
|
|
.saturating_add(Weight::from_ref_time(89_545_963).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(52))
|
|
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(50))
|
|
.saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_set_storage_per_old_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 425_062 nanoseconds.
|
|
Weight::from_ref_time(552_380_900)
|
|
// Standard Error: 1_140_169
|
|
.saturating_add(Weight::from_ref_time(64_085_108).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(51))
|
|
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(49))
|
|
.saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_clear_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_421 nanoseconds.
|
|
Weight::from_ref_time(260_897_072)
|
|
// Standard Error: 474_135
|
|
.saturating_add(Weight::from_ref_time(403_191_862).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_clear_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 391_743 nanoseconds.
|
|
Weight::from_ref_time(535_327_545)
|
|
// Standard Error: 1_297_157
|
|
.saturating_add(Weight::from_ref_time(67_222_981).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(51))
|
|
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(48))
|
|
.saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_get_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_947 nanoseconds.
|
|
Weight::from_ref_time(266_280_887)
|
|
// Standard Error: 382_477
|
|
.saturating_add(Weight::from_ref_time(323_306_898).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_get_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 375_487 nanoseconds.
|
|
Weight::from_ref_time(497_019_365)
|
|
// Standard Error: 1_141_672
|
|
.saturating_add(Weight::from_ref_time(152_354_482).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(51))
|
|
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_contains_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_716 nanoseconds.
|
|
Weight::from_ref_time(266_187_186)
|
|
// Standard Error: 395_323
|
|
.saturating_add(Weight::from_ref_time(309_907_221).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_contains_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 371_667 nanoseconds.
|
|
Weight::from_ref_time(478_075_482)
|
|
// Standard Error: 979_116
|
|
.saturating_add(Weight::from_ref_time(62_075_707).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(51))
|
|
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_take_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 292_147 nanoseconds.
|
|
Weight::from_ref_time(254_374_598)
|
|
// Standard Error: 442_367
|
|
.saturating_add(Weight::from_ref_time(413_674_705).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_take_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 398_554 nanoseconds.
|
|
Weight::from_ref_time(553_715_911)
|
|
// Standard Error: 1_415_272
|
|
.saturating_add(Weight::from_ref_time(158_254_544).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(51))
|
|
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(48))
|
|
.saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_transfer(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_081 nanoseconds.
|
|
Weight::from_ref_time(253_461_581)
|
|
// Standard Error: 740_198
|
|
.saturating_add(Weight::from_ref_time(1_369_153_623).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
.saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_call(r: u32, ) -> Weight {
|
|
// Minimum execution time: 296_089 nanoseconds.
|
|
Weight::from_ref_time(297_193_000)
|
|
// Standard Error: 6_571_547
|
|
.saturating_add(Weight::from_ref_time(21_080_280_397).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().reads((160_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((160_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_delegate_call(r: u32, ) -> Weight {
|
|
// Minimum execution time: 296_828 nanoseconds.
|
|
Weight::from_ref_time(297_685_000)
|
|
// Standard Error: 6_864_880
|
|
.saturating_add(Weight::from_ref_time(20_770_321_946).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((150_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((75_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:81 w:81)
|
|
// Storage: Contracts CodeStorage (r:2 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:82 w:82)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `c` is `[0, 1024]`.
|
|
fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight {
|
|
// Minimum execution time: 9_824_671 nanoseconds.
|
|
Weight::from_ref_time(8_713_861_450)
|
|
// Standard Error: 7_388_925
|
|
.saturating_add(Weight::from_ref_time(1_327_819_806).saturating_mul(t.into()))
|
|
// Standard Error: 11_079
|
|
.saturating_add(Weight::from_ref_time(9_789_514).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(167))
|
|
.saturating_add(T::DbWeight::get().reads((81_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes(163))
|
|
.saturating_add(T::DbWeight::get().writes((81_u64).saturating_mul(t.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:80 w:80)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_instantiate(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_374 nanoseconds.
|
|
Weight::from_ref_time(302_067_000)
|
|
// Standard Error: 20_137_097
|
|
.saturating_add(Weight::from_ref_time(26_444_812_817).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(8))
|
|
.saturating_add(T::DbWeight::get().reads((400_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(5))
|
|
.saturating_add(T::DbWeight::get().writes((400_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:81 w:81)
|
|
// Storage: Contracts ContractInfoOf (r:81 w:81)
|
|
// Storage: Contracts CodeStorage (r:2 w:1)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
// Storage: System EventTopics (r:82 w:82)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `i` is `[0, 960]`.
|
|
/// The range of component `s` is `[0, 960]`.
|
|
fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight {
|
|
// Minimum execution time: 126_456_770 nanoseconds.
|
|
Weight::from_ref_time(9_223_715_752)
|
|
// Standard Error: 96_040_318
|
|
.saturating_add(Weight::from_ref_time(19_550_519).saturating_mul(t.into()))
|
|
// Standard Error: 156_614
|
|
.saturating_add(Weight::from_ref_time(122_958_298).saturating_mul(i.into()))
|
|
// Standard Error: 156_614
|
|
.saturating_add(Weight::from_ref_time(123_316_079).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(249))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes(247))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_sha2_256(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_275 nanoseconds.
|
|
Weight::from_ref_time(297_803_961)
|
|
// Standard Error: 303_405
|
|
.saturating_add(Weight::from_ref_time(40_800_138).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 336_077 nanoseconds.
|
|
Weight::from_ref_time(336_846_000)
|
|
// Standard Error: 51_610
|
|
.saturating_add(Weight::from_ref_time(322_208_787).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_keccak_256(r: u32, ) -> Weight {
|
|
// Minimum execution time: 290_189 nanoseconds.
|
|
Weight::from_ref_time(298_454_259)
|
|
// Standard Error: 252_946
|
|
.saturating_add(Weight::from_ref_time(55_034_240).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 350_030 nanoseconds.
|
|
Weight::from_ref_time(351_356_000)
|
|
// Standard Error: 57_422
|
|
.saturating_add(Weight::from_ref_time(256_912_844).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_blake2_256(r: u32, ) -> Weight {
|
|
// Minimum execution time: 288_480 nanoseconds.
|
|
Weight::from_ref_time(297_613_263)
|
|
// Standard Error: 456_736
|
|
.saturating_add(Weight::from_ref_time(38_100_936).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 321_195 nanoseconds.
|
|
Weight::from_ref_time(325_561_000)
|
|
// Standard Error: 46_289
|
|
.saturating_add(Weight::from_ref_time(99_536_902).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_blake2_128(r: u32, ) -> Weight {
|
|
// Minimum execution time: 287_659 nanoseconds.
|
|
Weight::from_ref_time(295_963_340)
|
|
// Standard Error: 433_889
|
|
.saturating_add(Weight::from_ref_time(30_251_859).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 324_298 nanoseconds.
|
|
Weight::from_ref_time(325_738_000)
|
|
// Standard Error: 48_563
|
|
.saturating_add(Weight::from_ref_time(99_479_838).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_ecdsa_recover(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_257 nanoseconds.
|
|
Weight::from_ref_time(299_467_620)
|
|
// Standard Error: 589_749
|
|
.saturating_add(Weight::from_ref_time(3_015_389_579).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_480 nanoseconds.
|
|
Weight::from_ref_time(298_762_412)
|
|
// Standard Error: 397_004
|
|
.saturating_add(Weight::from_ref_time(743_937_087).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts OwnerInfoOf (r:16 w:16)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_set_code_hash(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_494 nanoseconds.
|
|
Weight::from_ref_time(297_756_000)
|
|
// Standard Error: 2_731_227
|
|
.saturating_add(Weight::from_ref_time(1_387_380_436).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().reads((225_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
.saturating_add(T::DbWeight::get().writes((150_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_reentrance_count(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_339 nanoseconds.
|
|
Weight::from_ref_time(301_577_907)
|
|
// Standard Error: 23_836
|
|
.saturating_add(Weight::from_ref_time(10_876_508).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_account_reentrance_count(r: u32, ) -> Weight {
|
|
// Minimum execution time: 297_096 nanoseconds.
|
|
Weight::from_ref_time(336_319_823)
|
|
// Standard Error: 128_941
|
|
.saturating_add(Weight::from_ref_time(25_211_374).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_instantiation_nonce(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_819 nanoseconds.
|
|
Weight::from_ref_time(302_765_659)
|
|
// Standard Error: 28_518
|
|
.saturating_add(Weight::from_ref_time(9_325_552).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64const(r: u32, ) -> Weight {
|
|
// Minimum execution time: 805 nanoseconds.
|
|
Weight::from_ref_time(1_002_066)
|
|
// Standard Error: 609
|
|
.saturating_add(Weight::from_ref_time(346_608).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64load(r: u32, ) -> Weight {
|
|
// Minimum execution time: 917 nanoseconds.
|
|
Weight::from_ref_time(1_247_710)
|
|
// Standard Error: 1_069
|
|
.saturating_add(Weight::from_ref_time(984_608).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64store(r: u32, ) -> Weight {
|
|
// Minimum execution time: 917 nanoseconds.
|
|
Weight::from_ref_time(1_244_315)
|
|
// Standard Error: 524
|
|
.saturating_add(Weight::from_ref_time(882_167).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_select(r: u32, ) -> Weight {
|
|
// Minimum execution time: 791 nanoseconds.
|
|
Weight::from_ref_time(1_119_053)
|
|
// Standard Error: 379
|
|
.saturating_add(Weight::from_ref_time(956_169).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_if(r: u32, ) -> Weight {
|
|
// Minimum execution time: 782 nanoseconds.
|
|
Weight::from_ref_time(773_373)
|
|
// Standard Error: 463
|
|
.saturating_add(Weight::from_ref_time(1_299_306).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_br(r: u32, ) -> Weight {
|
|
// Minimum execution time: 743 nanoseconds.
|
|
Weight::from_ref_time(1_273_896)
|
|
// Standard Error: 925
|
|
.saturating_add(Weight::from_ref_time(527_015).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_br_if(r: u32, ) -> Weight {
|
|
// Minimum execution time: 761 nanoseconds.
|
|
Weight::from_ref_time(929_565)
|
|
// Standard Error: 1_275
|
|
.saturating_add(Weight::from_ref_time(805_592).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_br_table(r: u32, ) -> Weight {
|
|
// Minimum execution time: 813 nanoseconds.
|
|
Weight::from_ref_time(703_802)
|
|
// Standard Error: 1_665
|
|
.saturating_add(Weight::from_ref_time(1_074_321).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `e` is `[1, 256]`.
|
|
fn instr_br_table_per_entry(e: u32, ) -> Weight {
|
|
// Minimum execution time: 2_347 nanoseconds.
|
|
Weight::from_ref_time(2_752_638)
|
|
// Standard Error: 69
|
|
.saturating_add(Weight::from_ref_time(4_771).saturating_mul(e.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_call(r: u32, ) -> Weight {
|
|
// Minimum execution time: 826 nanoseconds.
|
|
Weight::from_ref_time(1_784_596)
|
|
// Standard Error: 1_646
|
|
.saturating_add(Weight::from_ref_time(2_189_993).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_call_indirect(r: u32, ) -> Weight {
|
|
// Minimum execution time: 926 nanoseconds.
|
|
Weight::from_ref_time(1_898_358)
|
|
// Standard Error: 2_678
|
|
.saturating_add(Weight::from_ref_time(2_811_379).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `p` is `[0, 128]`.
|
|
fn instr_call_indirect_per_param(p: u32, ) -> Weight {
|
|
// Minimum execution time: 4_428 nanoseconds.
|
|
Weight::from_ref_time(5_257_445)
|
|
// Standard Error: 306
|
|
.saturating_add(Weight::from_ref_time(178_882).saturating_mul(p.into()))
|
|
}
|
|
/// The range of component `l` is `[0, 1024]`.
|
|
fn instr_call_per_local(l: u32, ) -> Weight {
|
|
// Minimum execution time: 2_945 nanoseconds.
|
|
Weight::from_ref_time(4_240_619)
|
|
// Standard Error: 39
|
|
.saturating_add(Weight::from_ref_time(46_640).saturating_mul(l.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_local_get(r: u32, ) -> Weight {
|
|
// Minimum execution time: 2_204 nanoseconds.
|
|
Weight::from_ref_time(2_430_272)
|
|
// Standard Error: 270
|
|
.saturating_add(Weight::from_ref_time(365_718).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_local_set(r: u32, ) -> Weight {
|
|
// Minimum execution time: 2_117 nanoseconds.
|
|
Weight::from_ref_time(2_429_354)
|
|
// Standard Error: 240
|
|
.saturating_add(Weight::from_ref_time(381_830).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_local_tee(r: u32, ) -> Weight {
|
|
// Minimum execution time: 2_123 nanoseconds.
|
|
Weight::from_ref_time(2_460_016)
|
|
// Standard Error: 262
|
|
.saturating_add(Weight::from_ref_time(526_554).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_global_get(r: u32, ) -> Weight {
|
|
// Minimum execution time: 892 nanoseconds.
|
|
Weight::from_ref_time(1_234_618)
|
|
// Standard Error: 485
|
|
.saturating_add(Weight::from_ref_time(813_721).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_global_set(r: u32, ) -> Weight {
|
|
// Minimum execution time: 901 nanoseconds.
|
|
Weight::from_ref_time(1_182_838)
|
|
// Standard Error: 482
|
|
.saturating_add(Weight::from_ref_time(831_308).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_memory_current(r: u32, ) -> Weight {
|
|
// Minimum execution time: 929 nanoseconds.
|
|
Weight::from_ref_time(1_221_388)
|
|
// Standard Error: 434
|
|
.saturating_add(Weight::from_ref_time(693_301).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn instr_memory_grow(r: u32, ) -> Weight {
|
|
// Minimum execution time: 808 nanoseconds.
|
|
Weight::from_ref_time(906_944)
|
|
// Standard Error: 6_164
|
|
.saturating_add(Weight::from_ref_time(187_445_255).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64clz(r: u32, ) -> Weight {
|
|
// Minimum execution time: 807 nanoseconds.
|
|
Weight::from_ref_time(1_064_776)
|
|
// Standard Error: 287
|
|
.saturating_add(Weight::from_ref_time(507_278).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ctz(r: u32, ) -> Weight {
|
|
// Minimum execution time: 776 nanoseconds.
|
|
Weight::from_ref_time(1_033_205)
|
|
// Standard Error: 443
|
|
.saturating_add(Weight::from_ref_time(512_445).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64popcnt(r: u32, ) -> Weight {
|
|
// Minimum execution time: 909 nanoseconds.
|
|
Weight::from_ref_time(1_089_083)
|
|
// Standard Error: 335
|
|
.saturating_add(Weight::from_ref_time(510_392).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64eqz(r: u32, ) -> Weight {
|
|
// Minimum execution time: 791 nanoseconds.
|
|
Weight::from_ref_time(1_063_118)
|
|
// Standard Error: 210
|
|
.saturating_add(Weight::from_ref_time(522_817).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64extendsi32(r: u32, ) -> Weight {
|
|
// Minimum execution time: 789 nanoseconds.
|
|
Weight::from_ref_time(1_056_006)
|
|
// Standard Error: 240
|
|
.saturating_add(Weight::from_ref_time(505_198).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64extendui32(r: u32, ) -> Weight {
|
|
// Minimum execution time: 804 nanoseconds.
|
|
Weight::from_ref_time(1_087_882)
|
|
// Standard Error: 234
|
|
.saturating_add(Weight::from_ref_time(503_830).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i32wrapi64(r: u32, ) -> Weight {
|
|
// Minimum execution time: 756 nanoseconds.
|
|
Weight::from_ref_time(1_050_994)
|
|
// Standard Error: 172
|
|
.saturating_add(Weight::from_ref_time(503_343).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64eq(r: u32, ) -> Weight {
|
|
// Minimum execution time: 775 nanoseconds.
|
|
Weight::from_ref_time(1_061_228)
|
|
// Standard Error: 232
|
|
.saturating_add(Weight::from_ref_time(730_751).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ne(r: u32, ) -> Weight {
|
|
// Minimum execution time: 809 nanoseconds.
|
|
Weight::from_ref_time(1_080_957)
|
|
// Standard Error: 320
|
|
.saturating_add(Weight::from_ref_time(732_246).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64lts(r: u32, ) -> Weight {
|
|
// Minimum execution time: 808 nanoseconds.
|
|
Weight::from_ref_time(1_055_752)
|
|
// Standard Error: 496
|
|
.saturating_add(Weight::from_ref_time(740_084).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ltu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 792 nanoseconds.
|
|
Weight::from_ref_time(1_111_972)
|
|
// Standard Error: 270
|
|
.saturating_add(Weight::from_ref_time(741_581).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64gts(r: u32, ) -> Weight {
|
|
// Minimum execution time: 862 nanoseconds.
|
|
Weight::from_ref_time(1_111_246)
|
|
// Standard Error: 263
|
|
.saturating_add(Weight::from_ref_time(746_026).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64gtu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 810 nanoseconds.
|
|
Weight::from_ref_time(1_094_933)
|
|
// Standard Error: 271
|
|
.saturating_add(Weight::from_ref_time(743_645).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64les(r: u32, ) -> Weight {
|
|
// Minimum execution time: 769 nanoseconds.
|
|
Weight::from_ref_time(819_933)
|
|
// Standard Error: 4_528
|
|
.saturating_add(Weight::from_ref_time(751_599).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64leu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 797 nanoseconds.
|
|
Weight::from_ref_time(1_107_352)
|
|
// Standard Error: 344
|
|
.saturating_add(Weight::from_ref_time(738_684).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ges(r: u32, ) -> Weight {
|
|
// Minimum execution time: 784 nanoseconds.
|
|
Weight::from_ref_time(1_068_487)
|
|
// Standard Error: 3_796
|
|
.saturating_add(Weight::from_ref_time(741_207).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64geu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 813 nanoseconds.
|
|
Weight::from_ref_time(1_067_278)
|
|
// Standard Error: 459
|
|
.saturating_add(Weight::from_ref_time(737_841).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64add(r: u32, ) -> Weight {
|
|
// Minimum execution time: 798 nanoseconds.
|
|
Weight::from_ref_time(1_100_254)
|
|
// Standard Error: 297
|
|
.saturating_add(Weight::from_ref_time(717_622).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64sub(r: u32, ) -> Weight {
|
|
// Minimum execution time: 778 nanoseconds.
|
|
Weight::from_ref_time(1_063_748)
|
|
// Standard Error: 378
|
|
.saturating_add(Weight::from_ref_time(713_577).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64mul(r: u32, ) -> Weight {
|
|
// Minimum execution time: 780 nanoseconds.
|
|
Weight::from_ref_time(1_088_755)
|
|
// Standard Error: 316
|
|
.saturating_add(Weight::from_ref_time(714_127).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64divs(r: u32, ) -> Weight {
|
|
// Minimum execution time: 776 nanoseconds.
|
|
Weight::from_ref_time(1_062_591)
|
|
// Standard Error: 610
|
|
.saturating_add(Weight::from_ref_time(1_355_430).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64divu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 801 nanoseconds.
|
|
Weight::from_ref_time(1_092_395)
|
|
// Standard Error: 423
|
|
.saturating_add(Weight::from_ref_time(1_282_356).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64rems(r: u32, ) -> Weight {
|
|
// Minimum execution time: 822 nanoseconds.
|
|
Weight::from_ref_time(1_083_079)
|
|
// Standard Error: 562
|
|
.saturating_add(Weight::from_ref_time(1_398_522).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64remu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 798 nanoseconds.
|
|
Weight::from_ref_time(1_088_997)
|
|
// Standard Error: 401
|
|
.saturating_add(Weight::from_ref_time(1_283_442).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64and(r: u32, ) -> Weight {
|
|
// Minimum execution time: 815 nanoseconds.
|
|
Weight::from_ref_time(1_081_903)
|
|
// Standard Error: 264
|
|
.saturating_add(Weight::from_ref_time(718_069).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64or(r: u32, ) -> Weight {
|
|
// Minimum execution time: 813 nanoseconds.
|
|
Weight::from_ref_time(1_091_426)
|
|
// Standard Error: 296
|
|
.saturating_add(Weight::from_ref_time(717_894).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64xor(r: u32, ) -> Weight {
|
|
// Minimum execution time: 794 nanoseconds.
|
|
Weight::from_ref_time(1_040_144)
|
|
// Standard Error: 400
|
|
.saturating_add(Weight::from_ref_time(719_886).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64shl(r: u32, ) -> Weight {
|
|
// Minimum execution time: 774 nanoseconds.
|
|
Weight::from_ref_time(1_092_466)
|
|
// Standard Error: 4_173
|
|
.saturating_add(Weight::from_ref_time(739_873).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64shrs(r: u32, ) -> Weight {
|
|
// Minimum execution time: 793 nanoseconds.
|
|
Weight::from_ref_time(1_105_611)
|
|
// Standard Error: 394
|
|
.saturating_add(Weight::from_ref_time(735_358).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64shru(r: u32, ) -> Weight {
|
|
// Minimum execution time: 805 nanoseconds.
|
|
Weight::from_ref_time(1_130_462)
|
|
// Standard Error: 327
|
|
.saturating_add(Weight::from_ref_time(734_198).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64rotl(r: u32, ) -> Weight {
|
|
// Minimum execution time: 831 nanoseconds.
|
|
Weight::from_ref_time(1_118_894)
|
|
// Standard Error: 389
|
|
.saturating_add(Weight::from_ref_time(733_834).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64rotr(r: u32, ) -> Weight {
|
|
// Minimum execution time: 772 nanoseconds.
|
|
Weight::from_ref_time(1_123_733)
|
|
// Standard Error: 337
|
|
.saturating_add(Weight::from_ref_time(733_923).saturating_mul(r.into()))
|
|
}
|
|
}
|
|
|
|
// For backwards compatibility and tests
|
|
impl WeightInfo for () {
|
|
// Storage: Contracts DeletionQueue (r:1 w:0)
|
|
fn on_process_deletion_queue_batch() -> Weight {
|
|
// Minimum execution time: 3_326 nanoseconds.
|
|
Weight::from_ref_time(3_433_000)
|
|
.saturating_add(RocksDbWeight::get().reads(1))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `k` is `[0, 1024]`.
|
|
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
|
|
// Minimum execution time: 15_703 nanoseconds.
|
|
Weight::from_ref_time(15_288_927)
|
|
// Standard Error: 951
|
|
.saturating_add(Weight::from_ref_time(940_816).saturating_mul(k.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1))
|
|
.saturating_add(RocksDbWeight::get().writes(1))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
|
}
|
|
// Storage: Contracts DeletionQueue (r:1 w:0)
|
|
/// The range of component `q` is `[0, 128]`.
|
|
fn on_initialize_per_queue_item(q: u32, ) -> Weight {
|
|
// Minimum execution time: 3_548 nanoseconds.
|
|
Weight::from_ref_time(15_764_121)
|
|
// Standard Error: 3_339
|
|
.saturating_add(Weight::from_ref_time(1_214_890).saturating_mul(q.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1))
|
|
.saturating_add(RocksDbWeight::get().writes(1))
|
|
}
|
|
// Storage: Contracts PristineCode (r:1 w:0)
|
|
// Storage: Contracts CodeStorage (r:0 w:1)
|
|
/// The range of component `c` is `[0, 64226]`.
|
|
fn reinstrument(c: u32, ) -> Weight {
|
|
// Minimum execution time: 29_801 nanoseconds.
|
|
Weight::from_ref_time(27_932_706)
|
|
// Standard Error: 49
|
|
.saturating_add(Weight::from_ref_time(50_532).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1))
|
|
.saturating_add(RocksDbWeight::get().writes(1))
|
|
}
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `c` is `[0, 131072]`.
|
|
fn call_with_code_per_byte(c: u32, ) -> Weight {
|
|
// Minimum execution time: 307_894 nanoseconds.
|
|
Weight::from_ref_time(322_346_319)
|
|
// Standard Error: 25
|
|
.saturating_add(Weight::from_ref_time(30_678).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts CodeStorage (r:1 w:1)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: System EventTopics (r:3 w:3)
|
|
// Storage: Contracts PristineCode (r:0 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:0 w:1)
|
|
/// The range of component `c` is `[0, 64226]`.
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
/// The range of component `s` is `[0, 1048576]`.
|
|
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
|
|
// Minimum execution time: 3_610_424 nanoseconds.
|
|
Weight::from_ref_time(583_426_386)
|
|
// Standard Error: 277
|
|
.saturating_add(Weight::from_ref_time(90_224).saturating_mul(c.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_ref_time(1_325).saturating_mul(i.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_ref_time(1_727).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(8))
|
|
.saturating_add(RocksDbWeight::get().writes(9))
|
|
}
|
|
// Storage: Contracts CodeStorage (r:1 w:1)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
/// The range of component `s` is `[0, 1048576]`.
|
|
fn instantiate(i: u32, s: u32, ) -> Weight {
|
|
// Minimum execution time: 1_892_996 nanoseconds.
|
|
Weight::from_ref_time(202_958_196)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_ref_time(1_627).saturating_mul(i.into()))
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_ref_time(1_755).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(8))
|
|
.saturating_add(RocksDbWeight::get().writes(7))
|
|
}
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System Account (r:1 w:1)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
fn call() -> Weight {
|
|
// Minimum execution time: 157_347 nanoseconds.
|
|
Weight::from_ref_time(159_084_000)
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts CodeStorage (r:1 w:1)
|
|
// Storage: System EventTopics (r:1 w:1)
|
|
// Storage: Contracts PristineCode (r:0 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:0 w:1)
|
|
/// The range of component `c` is `[0, 64226]`.
|
|
fn upload_code(c: u32, ) -> Weight {
|
|
// Minimum execution time: 299_987 nanoseconds.
|
|
Weight::from_ref_time(305_274_879)
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_ref_time(91_916).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2))
|
|
.saturating_add(RocksDbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
// Storage: System EventTopics (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:0 w:1)
|
|
// Storage: Contracts PristineCode (r:0 w:1)
|
|
fn remove_code() -> Weight {
|
|
// Minimum execution time: 40_795 nanoseconds.
|
|
Weight::from_ref_time(41_297_000)
|
|
.saturating_add(RocksDbWeight::get().reads(2))
|
|
.saturating_add(RocksDbWeight::get().writes(4))
|
|
}
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:2 w:2)
|
|
// Storage: System EventTopics (r:3 w:3)
|
|
fn set_code() -> Weight {
|
|
// Minimum execution time: 41_957 nanoseconds.
|
|
Weight::from_ref_time(42_536_000)
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(6))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_caller(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_544 nanoseconds.
|
|
Weight::from_ref_time(298_981_222)
|
|
// Standard Error: 39_139
|
|
.saturating_add(Weight::from_ref_time(17_278_436).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_is_contract(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_500 nanoseconds.
|
|
Weight::from_ref_time(237_825_284)
|
|
// Standard Error: 450_234
|
|
.saturating_add(Weight::from_ref_time(198_995_806).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_code_hash(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_851 nanoseconds.
|
|
Weight::from_ref_time(258_113_447)
|
|
// Standard Error: 408_747
|
|
.saturating_add(Weight::from_ref_time(237_490_216).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_own_code_hash(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_614 nanoseconds.
|
|
Weight::from_ref_time(301_528_998)
|
|
// Standard Error: 40_613
|
|
.saturating_add(Weight::from_ref_time(20_815_088).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_caller_is_origin(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_088 nanoseconds.
|
|
Weight::from_ref_time(299_120_595)
|
|
// Standard Error: 23_277
|
|
.saturating_add(Weight::from_ref_time(11_130_334).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_address(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_110 nanoseconds.
|
|
Weight::from_ref_time(305_295_787)
|
|
// Standard Error: 48_521
|
|
.saturating_add(Weight::from_ref_time(16_610_806).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_gas_left(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_414 nanoseconds.
|
|
Weight::from_ref_time(299_960_283)
|
|
// Standard Error: 32_003
|
|
.saturating_add(Weight::from_ref_time(16_652_433).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_balance(r: u32, ) -> Weight {
|
|
// Minimum execution time: 292_429 nanoseconds.
|
|
Weight::from_ref_time(301_025_128)
|
|
// Standard Error: 92_155
|
|
.saturating_add(Weight::from_ref_time(92_731_719).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_value_transferred(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_516 nanoseconds.
|
|
Weight::from_ref_time(300_071_428)
|
|
// Standard Error: 25_871
|
|
.saturating_add(Weight::from_ref_time(16_599_369).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_minimum_balance(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_666 nanoseconds.
|
|
Weight::from_ref_time(299_803_599)
|
|
// Standard Error: 24_508
|
|
.saturating_add(Weight::from_ref_time(16_500_973).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_block_number(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_193 nanoseconds.
|
|
Weight::from_ref_time(297_946_784)
|
|
// Standard Error: 43_719
|
|
.saturating_add(Weight::from_ref_time(16_442_254).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_now(r: u32, ) -> Weight {
|
|
// Minimum execution time: 288_897 nanoseconds.
|
|
Weight::from_ref_time(298_856_658)
|
|
// Standard Error: 31_003
|
|
.saturating_add(Weight::from_ref_time(16_490_508).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_weight_to_fee(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_850 nanoseconds.
|
|
Weight::from_ref_time(302_898_449)
|
|
// Standard Error: 92_822
|
|
.saturating_add(Weight::from_ref_time(86_376_874).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_gas(r: u32, ) -> Weight {
|
|
// Minimum execution time: 145_105 nanoseconds.
|
|
Weight::from_ref_time(152_388_934)
|
|
// Standard Error: 29_988
|
|
.saturating_add(Weight::from_ref_time(7_761_947).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_input(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_319 nanoseconds.
|
|
Weight::from_ref_time(298_390_911)
|
|
// Standard Error: 27_329
|
|
.saturating_add(Weight::from_ref_time(14_225_527).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_input_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 305_538 nanoseconds.
|
|
Weight::from_ref_time(339_734_596)
|
|
// Standard Error: 4_636
|
|
.saturating_add(Weight::from_ref_time(9_592_149).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_return(r: u32, ) -> Weight {
|
|
// Minimum execution time: 287_189 nanoseconds.
|
|
Weight::from_ref_time(295_472_383)
|
|
// Standard Error: 314_142
|
|
.saturating_add(Weight::from_ref_time(214_016).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_return_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 289_380 nanoseconds.
|
|
Weight::from_ref_time(296_302_404)
|
|
// Standard Error: 889
|
|
.saturating_add(Weight::from_ref_time(190_017).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts DeletionQueue (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_terminate(r: u32, ) -> Weight {
|
|
// Minimum execution time: 292_383 nanoseconds.
|
|
Weight::from_ref_time(297_557_691)
|
|
// Standard Error: 251_228
|
|
.saturating_add(Weight::from_ref_time(56_688_008).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((6_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_random(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_019 nanoseconds.
|
|
Weight::from_ref_time(301_747_439)
|
|
// Standard Error: 92_043
|
|
.saturating_add(Weight::from_ref_time(109_861_144).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_deposit_event(r: u32, ) -> Weight {
|
|
// Minimum execution time: 287_586 nanoseconds.
|
|
Weight::from_ref_time(304_751_302)
|
|
// Standard Error: 127_698
|
|
.saturating_add(Weight::from_ref_time(221_525_053).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `t` is `[0, 4]`.
|
|
/// The range of component `n` is `[0, 16]`.
|
|
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight {
|
|
// Minimum execution time: 1_182_204 nanoseconds.
|
|
Weight::from_ref_time(508_607_957)
|
|
// Standard Error: 503_533
|
|
.saturating_add(Weight::from_ref_time(173_998_655).saturating_mul(t.into()))
|
|
// Standard Error: 138_294
|
|
.saturating_add(Weight::from_ref_time(67_991_373).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(t.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_debug_message(r: u32, ) -> Weight {
|
|
// Minimum execution time: 157_706 nanoseconds.
|
|
Weight::from_ref_time(161_895_583)
|
|
// Standard Error: 14_952
|
|
.saturating_add(Weight::from_ref_time(12_990_237).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_set_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 290_063 nanoseconds.
|
|
Weight::from_ref_time(256_404_853)
|
|
// Standard Error: 436_195
|
|
.saturating_add(Weight::from_ref_time(406_569_743).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_set_storage_per_new_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 426_295 nanoseconds.
|
|
Weight::from_ref_time(582_989_911)
|
|
// Standard Error: 1_404_141
|
|
.saturating_add(Weight::from_ref_time(89_545_963).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(52))
|
|
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(50))
|
|
.saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_set_storage_per_old_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 425_062 nanoseconds.
|
|
Weight::from_ref_time(552_380_900)
|
|
// Standard Error: 1_140_169
|
|
.saturating_add(Weight::from_ref_time(64_085_108).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(51))
|
|
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(49))
|
|
.saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_clear_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_421 nanoseconds.
|
|
Weight::from_ref_time(260_897_072)
|
|
// Standard Error: 474_135
|
|
.saturating_add(Weight::from_ref_time(403_191_862).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_clear_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 391_743 nanoseconds.
|
|
Weight::from_ref_time(535_327_545)
|
|
// Standard Error: 1_297_157
|
|
.saturating_add(Weight::from_ref_time(67_222_981).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(51))
|
|
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(48))
|
|
.saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_get_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_947 nanoseconds.
|
|
Weight::from_ref_time(266_280_887)
|
|
// Standard Error: 382_477
|
|
.saturating_add(Weight::from_ref_time(323_306_898).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_get_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 375_487 nanoseconds.
|
|
Weight::from_ref_time(497_019_365)
|
|
// Standard Error: 1_141_672
|
|
.saturating_add(Weight::from_ref_time(152_354_482).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(51))
|
|
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_contains_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_716 nanoseconds.
|
|
Weight::from_ref_time(266_187_186)
|
|
// Standard Error: 395_323
|
|
.saturating_add(Weight::from_ref_time(309_907_221).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_contains_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 371_667 nanoseconds.
|
|
Weight::from_ref_time(478_075_482)
|
|
// Standard Error: 979_116
|
|
.saturating_add(Weight::from_ref_time(62_075_707).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(51))
|
|
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `r` is `[0, 10]`.
|
|
fn seal_take_storage(r: u32, ) -> Weight {
|
|
// Minimum execution time: 292_147 nanoseconds.
|
|
Weight::from_ref_time(254_374_598)
|
|
// Standard Error: 442_367
|
|
.saturating_add(Weight::from_ref_time(413_674_705).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: Skipped Metadata (r:0 w:0)
|
|
/// The range of component `n` is `[0, 8]`.
|
|
fn seal_take_storage_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 398_554 nanoseconds.
|
|
Weight::from_ref_time(553_715_911)
|
|
// Standard Error: 1_415_272
|
|
.saturating_add(Weight::from_ref_time(158_254_544).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(51))
|
|
.saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(48))
|
|
.saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_transfer(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_081 nanoseconds.
|
|
Weight::from_ref_time(253_461_581)
|
|
// Standard Error: 740_198
|
|
.saturating_add(Weight::from_ref_time(1_369_153_623).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7))
|
|
.saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(4))
|
|
.saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_call(r: u32, ) -> Weight {
|
|
// Minimum execution time: 296_089 nanoseconds.
|
|
Weight::from_ref_time(297_193_000)
|
|
// Standard Error: 6_571_547
|
|
.saturating_add(Weight::from_ref_time(21_080_280_397).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7))
|
|
.saturating_add(RocksDbWeight::get().reads((160_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((160_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_delegate_call(r: u32, ) -> Weight {
|
|
// Minimum execution time: 296_828 nanoseconds.
|
|
Weight::from_ref_time(297_685_000)
|
|
// Standard Error: 6_864_880
|
|
.saturating_add(Weight::from_ref_time(20_770_321_946).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((150_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((75_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:81 w:81)
|
|
// Storage: Contracts CodeStorage (r:2 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:82 w:82)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `c` is `[0, 1024]`.
|
|
fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight {
|
|
// Minimum execution time: 9_824_671 nanoseconds.
|
|
Weight::from_ref_time(8_713_861_450)
|
|
// Standard Error: 7_388_925
|
|
.saturating_add(Weight::from_ref_time(1_327_819_806).saturating_mul(t.into()))
|
|
// Standard Error: 11_079
|
|
.saturating_add(Weight::from_ref_time(9_789_514).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(167))
|
|
.saturating_add(RocksDbWeight::get().reads((81_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(163))
|
|
.saturating_add(RocksDbWeight::get().writes((81_u64).saturating_mul(t.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:80 w:80)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_instantiate(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_374 nanoseconds.
|
|
Weight::from_ref_time(302_067_000)
|
|
// Standard Error: 20_137_097
|
|
.saturating_add(Weight::from_ref_time(26_444_812_817).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(8))
|
|
.saturating_add(RocksDbWeight::get().reads((400_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(5))
|
|
.saturating_add(RocksDbWeight::get().writes((400_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:81 w:81)
|
|
// Storage: Contracts ContractInfoOf (r:81 w:81)
|
|
// Storage: Contracts CodeStorage (r:2 w:1)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
// Storage: Contracts OwnerInfoOf (r:1 w:1)
|
|
// Storage: System EventTopics (r:82 w:82)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `i` is `[0, 960]`.
|
|
/// The range of component `s` is `[0, 960]`.
|
|
fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight {
|
|
// Minimum execution time: 126_456_770 nanoseconds.
|
|
Weight::from_ref_time(9_223_715_752)
|
|
// Standard Error: 96_040_318
|
|
.saturating_add(Weight::from_ref_time(19_550_519).saturating_mul(t.into()))
|
|
// Standard Error: 156_614
|
|
.saturating_add(Weight::from_ref_time(122_958_298).saturating_mul(i.into()))
|
|
// Standard Error: 156_614
|
|
.saturating_add(Weight::from_ref_time(123_316_079).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(249))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(247))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_sha2_256(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_275 nanoseconds.
|
|
Weight::from_ref_time(297_803_961)
|
|
// Standard Error: 303_405
|
|
.saturating_add(Weight::from_ref_time(40_800_138).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 336_077 nanoseconds.
|
|
Weight::from_ref_time(336_846_000)
|
|
// Standard Error: 51_610
|
|
.saturating_add(Weight::from_ref_time(322_208_787).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_keccak_256(r: u32, ) -> Weight {
|
|
// Minimum execution time: 290_189 nanoseconds.
|
|
Weight::from_ref_time(298_454_259)
|
|
// Standard Error: 252_946
|
|
.saturating_add(Weight::from_ref_time(55_034_240).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 350_030 nanoseconds.
|
|
Weight::from_ref_time(351_356_000)
|
|
// Standard Error: 57_422
|
|
.saturating_add(Weight::from_ref_time(256_912_844).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_blake2_256(r: u32, ) -> Weight {
|
|
// Minimum execution time: 288_480 nanoseconds.
|
|
Weight::from_ref_time(297_613_263)
|
|
// Standard Error: 456_736
|
|
.saturating_add(Weight::from_ref_time(38_100_936).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 321_195 nanoseconds.
|
|
Weight::from_ref_time(325_561_000)
|
|
// Standard Error: 46_289
|
|
.saturating_add(Weight::from_ref_time(99_536_902).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_hash_blake2_128(r: u32, ) -> Weight {
|
|
// Minimum execution time: 287_659 nanoseconds.
|
|
Weight::from_ref_time(295_963_340)
|
|
// Standard Error: 433_889
|
|
.saturating_add(Weight::from_ref_time(30_251_859).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `n` is `[0, 1024]`.
|
|
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight {
|
|
// Minimum execution time: 324_298 nanoseconds.
|
|
Weight::from_ref_time(325_738_000)
|
|
// Standard Error: 48_563
|
|
.saturating_add(Weight::from_ref_time(99_479_838).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_ecdsa_recover(r: u32, ) -> Weight {
|
|
// Minimum execution time: 294_257 nanoseconds.
|
|
Weight::from_ref_time(299_467_620)
|
|
// Standard Error: 589_749
|
|
.saturating_add(Weight::from_ref_time(3_015_389_579).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
|
|
// Minimum execution time: 289_480 nanoseconds.
|
|
Weight::from_ref_time(298_762_412)
|
|
// Standard Error: 397_004
|
|
.saturating_add(Weight::from_ref_time(743_937_087).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts OwnerInfoOf (r:16 w:16)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_set_code_hash(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_494 nanoseconds.
|
|
Weight::from_ref_time(297_756_000)
|
|
// Standard Error: 2_731_227
|
|
.saturating_add(Weight::from_ref_time(1_387_380_436).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().reads((225_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
.saturating_add(RocksDbWeight::get().writes((150_u64).saturating_mul(r.into())))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_reentrance_count(r: u32, ) -> Weight {
|
|
// Minimum execution time: 295_339 nanoseconds.
|
|
Weight::from_ref_time(301_577_907)
|
|
// Standard Error: 23_836
|
|
.saturating_add(Weight::from_ref_time(10_876_508).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_account_reentrance_count(r: u32, ) -> Weight {
|
|
// Minimum execution time: 297_096 nanoseconds.
|
|
Weight::from_ref_time(336_319_823)
|
|
// Standard Error: 128_941
|
|
.saturating_add(Weight::from_ref_time(25_211_374).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6))
|
|
.saturating_add(RocksDbWeight::get().writes(3))
|
|
}
|
|
// Storage: System Account (r:1 w:0)
|
|
// Storage: Contracts ContractInfoOf (r:1 w:1)
|
|
// Storage: Contracts CodeStorage (r:1 w:0)
|
|
// Storage: Timestamp Now (r:1 w:0)
|
|
// Storage: System EventTopics (r:2 w:2)
|
|
// Storage: Contracts Nonce (r:1 w:1)
|
|
/// The range of component `r` is `[0, 20]`.
|
|
fn seal_instantiation_nonce(r: u32, ) -> Weight {
|
|
// Minimum execution time: 293_819 nanoseconds.
|
|
Weight::from_ref_time(302_765_659)
|
|
// Standard Error: 28_518
|
|
.saturating_add(Weight::from_ref_time(9_325_552).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7))
|
|
.saturating_add(RocksDbWeight::get().writes(4))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64const(r: u32, ) -> Weight {
|
|
// Minimum execution time: 805 nanoseconds.
|
|
Weight::from_ref_time(1_002_066)
|
|
// Standard Error: 609
|
|
.saturating_add(Weight::from_ref_time(346_608).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64load(r: u32, ) -> Weight {
|
|
// Minimum execution time: 917 nanoseconds.
|
|
Weight::from_ref_time(1_247_710)
|
|
// Standard Error: 1_069
|
|
.saturating_add(Weight::from_ref_time(984_608).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64store(r: u32, ) -> Weight {
|
|
// Minimum execution time: 917 nanoseconds.
|
|
Weight::from_ref_time(1_244_315)
|
|
// Standard Error: 524
|
|
.saturating_add(Weight::from_ref_time(882_167).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_select(r: u32, ) -> Weight {
|
|
// Minimum execution time: 791 nanoseconds.
|
|
Weight::from_ref_time(1_119_053)
|
|
// Standard Error: 379
|
|
.saturating_add(Weight::from_ref_time(956_169).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_if(r: u32, ) -> Weight {
|
|
// Minimum execution time: 782 nanoseconds.
|
|
Weight::from_ref_time(773_373)
|
|
// Standard Error: 463
|
|
.saturating_add(Weight::from_ref_time(1_299_306).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_br(r: u32, ) -> Weight {
|
|
// Minimum execution time: 743 nanoseconds.
|
|
Weight::from_ref_time(1_273_896)
|
|
// Standard Error: 925
|
|
.saturating_add(Weight::from_ref_time(527_015).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_br_if(r: u32, ) -> Weight {
|
|
// Minimum execution time: 761 nanoseconds.
|
|
Weight::from_ref_time(929_565)
|
|
// Standard Error: 1_275
|
|
.saturating_add(Weight::from_ref_time(805_592).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_br_table(r: u32, ) -> Weight {
|
|
// Minimum execution time: 813 nanoseconds.
|
|
Weight::from_ref_time(703_802)
|
|
// Standard Error: 1_665
|
|
.saturating_add(Weight::from_ref_time(1_074_321).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `e` is `[1, 256]`.
|
|
fn instr_br_table_per_entry(e: u32, ) -> Weight {
|
|
// Minimum execution time: 2_347 nanoseconds.
|
|
Weight::from_ref_time(2_752_638)
|
|
// Standard Error: 69
|
|
.saturating_add(Weight::from_ref_time(4_771).saturating_mul(e.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_call(r: u32, ) -> Weight {
|
|
// Minimum execution time: 826 nanoseconds.
|
|
Weight::from_ref_time(1_784_596)
|
|
// Standard Error: 1_646
|
|
.saturating_add(Weight::from_ref_time(2_189_993).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_call_indirect(r: u32, ) -> Weight {
|
|
// Minimum execution time: 926 nanoseconds.
|
|
Weight::from_ref_time(1_898_358)
|
|
// Standard Error: 2_678
|
|
.saturating_add(Weight::from_ref_time(2_811_379).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `p` is `[0, 128]`.
|
|
fn instr_call_indirect_per_param(p: u32, ) -> Weight {
|
|
// Minimum execution time: 4_428 nanoseconds.
|
|
Weight::from_ref_time(5_257_445)
|
|
// Standard Error: 306
|
|
.saturating_add(Weight::from_ref_time(178_882).saturating_mul(p.into()))
|
|
}
|
|
/// The range of component `l` is `[0, 1024]`.
|
|
fn instr_call_per_local(l: u32, ) -> Weight {
|
|
// Minimum execution time: 2_945 nanoseconds.
|
|
Weight::from_ref_time(4_240_619)
|
|
// Standard Error: 39
|
|
.saturating_add(Weight::from_ref_time(46_640).saturating_mul(l.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_local_get(r: u32, ) -> Weight {
|
|
// Minimum execution time: 2_204 nanoseconds.
|
|
Weight::from_ref_time(2_430_272)
|
|
// Standard Error: 270
|
|
.saturating_add(Weight::from_ref_time(365_718).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_local_set(r: u32, ) -> Weight {
|
|
// Minimum execution time: 2_117 nanoseconds.
|
|
Weight::from_ref_time(2_429_354)
|
|
// Standard Error: 240
|
|
.saturating_add(Weight::from_ref_time(381_830).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_local_tee(r: u32, ) -> Weight {
|
|
// Minimum execution time: 2_123 nanoseconds.
|
|
Weight::from_ref_time(2_460_016)
|
|
// Standard Error: 262
|
|
.saturating_add(Weight::from_ref_time(526_554).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_global_get(r: u32, ) -> Weight {
|
|
// Minimum execution time: 892 nanoseconds.
|
|
Weight::from_ref_time(1_234_618)
|
|
// Standard Error: 485
|
|
.saturating_add(Weight::from_ref_time(813_721).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_global_set(r: u32, ) -> Weight {
|
|
// Minimum execution time: 901 nanoseconds.
|
|
Weight::from_ref_time(1_182_838)
|
|
// Standard Error: 482
|
|
.saturating_add(Weight::from_ref_time(831_308).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_memory_current(r: u32, ) -> Weight {
|
|
// Minimum execution time: 929 nanoseconds.
|
|
Weight::from_ref_time(1_221_388)
|
|
// Standard Error: 434
|
|
.saturating_add(Weight::from_ref_time(693_301).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn instr_memory_grow(r: u32, ) -> Weight {
|
|
// Minimum execution time: 808 nanoseconds.
|
|
Weight::from_ref_time(906_944)
|
|
// Standard Error: 6_164
|
|
.saturating_add(Weight::from_ref_time(187_445_255).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64clz(r: u32, ) -> Weight {
|
|
// Minimum execution time: 807 nanoseconds.
|
|
Weight::from_ref_time(1_064_776)
|
|
// Standard Error: 287
|
|
.saturating_add(Weight::from_ref_time(507_278).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ctz(r: u32, ) -> Weight {
|
|
// Minimum execution time: 776 nanoseconds.
|
|
Weight::from_ref_time(1_033_205)
|
|
// Standard Error: 443
|
|
.saturating_add(Weight::from_ref_time(512_445).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64popcnt(r: u32, ) -> Weight {
|
|
// Minimum execution time: 909 nanoseconds.
|
|
Weight::from_ref_time(1_089_083)
|
|
// Standard Error: 335
|
|
.saturating_add(Weight::from_ref_time(510_392).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64eqz(r: u32, ) -> Weight {
|
|
// Minimum execution time: 791 nanoseconds.
|
|
Weight::from_ref_time(1_063_118)
|
|
// Standard Error: 210
|
|
.saturating_add(Weight::from_ref_time(522_817).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64extendsi32(r: u32, ) -> Weight {
|
|
// Minimum execution time: 789 nanoseconds.
|
|
Weight::from_ref_time(1_056_006)
|
|
// Standard Error: 240
|
|
.saturating_add(Weight::from_ref_time(505_198).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64extendui32(r: u32, ) -> Weight {
|
|
// Minimum execution time: 804 nanoseconds.
|
|
Weight::from_ref_time(1_087_882)
|
|
// Standard Error: 234
|
|
.saturating_add(Weight::from_ref_time(503_830).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i32wrapi64(r: u32, ) -> Weight {
|
|
// Minimum execution time: 756 nanoseconds.
|
|
Weight::from_ref_time(1_050_994)
|
|
// Standard Error: 172
|
|
.saturating_add(Weight::from_ref_time(503_343).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64eq(r: u32, ) -> Weight {
|
|
// Minimum execution time: 775 nanoseconds.
|
|
Weight::from_ref_time(1_061_228)
|
|
// Standard Error: 232
|
|
.saturating_add(Weight::from_ref_time(730_751).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ne(r: u32, ) -> Weight {
|
|
// Minimum execution time: 809 nanoseconds.
|
|
Weight::from_ref_time(1_080_957)
|
|
// Standard Error: 320
|
|
.saturating_add(Weight::from_ref_time(732_246).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64lts(r: u32, ) -> Weight {
|
|
// Minimum execution time: 808 nanoseconds.
|
|
Weight::from_ref_time(1_055_752)
|
|
// Standard Error: 496
|
|
.saturating_add(Weight::from_ref_time(740_084).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ltu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 792 nanoseconds.
|
|
Weight::from_ref_time(1_111_972)
|
|
// Standard Error: 270
|
|
.saturating_add(Weight::from_ref_time(741_581).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64gts(r: u32, ) -> Weight {
|
|
// Minimum execution time: 862 nanoseconds.
|
|
Weight::from_ref_time(1_111_246)
|
|
// Standard Error: 263
|
|
.saturating_add(Weight::from_ref_time(746_026).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64gtu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 810 nanoseconds.
|
|
Weight::from_ref_time(1_094_933)
|
|
// Standard Error: 271
|
|
.saturating_add(Weight::from_ref_time(743_645).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64les(r: u32, ) -> Weight {
|
|
// Minimum execution time: 769 nanoseconds.
|
|
Weight::from_ref_time(819_933)
|
|
// Standard Error: 4_528
|
|
.saturating_add(Weight::from_ref_time(751_599).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64leu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 797 nanoseconds.
|
|
Weight::from_ref_time(1_107_352)
|
|
// Standard Error: 344
|
|
.saturating_add(Weight::from_ref_time(738_684).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64ges(r: u32, ) -> Weight {
|
|
// Minimum execution time: 784 nanoseconds.
|
|
Weight::from_ref_time(1_068_487)
|
|
// Standard Error: 3_796
|
|
.saturating_add(Weight::from_ref_time(741_207).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64geu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 813 nanoseconds.
|
|
Weight::from_ref_time(1_067_278)
|
|
// Standard Error: 459
|
|
.saturating_add(Weight::from_ref_time(737_841).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64add(r: u32, ) -> Weight {
|
|
// Minimum execution time: 798 nanoseconds.
|
|
Weight::from_ref_time(1_100_254)
|
|
// Standard Error: 297
|
|
.saturating_add(Weight::from_ref_time(717_622).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64sub(r: u32, ) -> Weight {
|
|
// Minimum execution time: 778 nanoseconds.
|
|
Weight::from_ref_time(1_063_748)
|
|
// Standard Error: 378
|
|
.saturating_add(Weight::from_ref_time(713_577).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64mul(r: u32, ) -> Weight {
|
|
// Minimum execution time: 780 nanoseconds.
|
|
Weight::from_ref_time(1_088_755)
|
|
// Standard Error: 316
|
|
.saturating_add(Weight::from_ref_time(714_127).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64divs(r: u32, ) -> Weight {
|
|
// Minimum execution time: 776 nanoseconds.
|
|
Weight::from_ref_time(1_062_591)
|
|
// Standard Error: 610
|
|
.saturating_add(Weight::from_ref_time(1_355_430).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64divu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 801 nanoseconds.
|
|
Weight::from_ref_time(1_092_395)
|
|
// Standard Error: 423
|
|
.saturating_add(Weight::from_ref_time(1_282_356).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64rems(r: u32, ) -> Weight {
|
|
// Minimum execution time: 822 nanoseconds.
|
|
Weight::from_ref_time(1_083_079)
|
|
// Standard Error: 562
|
|
.saturating_add(Weight::from_ref_time(1_398_522).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64remu(r: u32, ) -> Weight {
|
|
// Minimum execution time: 798 nanoseconds.
|
|
Weight::from_ref_time(1_088_997)
|
|
// Standard Error: 401
|
|
.saturating_add(Weight::from_ref_time(1_283_442).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64and(r: u32, ) -> Weight {
|
|
// Minimum execution time: 815 nanoseconds.
|
|
Weight::from_ref_time(1_081_903)
|
|
// Standard Error: 264
|
|
.saturating_add(Weight::from_ref_time(718_069).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64or(r: u32, ) -> Weight {
|
|
// Minimum execution time: 813 nanoseconds.
|
|
Weight::from_ref_time(1_091_426)
|
|
// Standard Error: 296
|
|
.saturating_add(Weight::from_ref_time(717_894).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64xor(r: u32, ) -> Weight {
|
|
// Minimum execution time: 794 nanoseconds.
|
|
Weight::from_ref_time(1_040_144)
|
|
// Standard Error: 400
|
|
.saturating_add(Weight::from_ref_time(719_886).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64shl(r: u32, ) -> Weight {
|
|
// Minimum execution time: 774 nanoseconds.
|
|
Weight::from_ref_time(1_092_466)
|
|
// Standard Error: 4_173
|
|
.saturating_add(Weight::from_ref_time(739_873).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64shrs(r: u32, ) -> Weight {
|
|
// Minimum execution time: 793 nanoseconds.
|
|
Weight::from_ref_time(1_105_611)
|
|
// Standard Error: 394
|
|
.saturating_add(Weight::from_ref_time(735_358).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64shru(r: u32, ) -> Weight {
|
|
// Minimum execution time: 805 nanoseconds.
|
|
Weight::from_ref_time(1_130_462)
|
|
// Standard Error: 327
|
|
.saturating_add(Weight::from_ref_time(734_198).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64rotl(r: u32, ) -> Weight {
|
|
// Minimum execution time: 831 nanoseconds.
|
|
Weight::from_ref_time(1_118_894)
|
|
// Standard Error: 389
|
|
.saturating_add(Weight::from_ref_time(733_834).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 50]`.
|
|
fn instr_i64rotr(r: u32, ) -> Weight {
|
|
// Minimum execution time: 772 nanoseconds.
|
|
Weight::from_ref_time(1_123_733)
|
|
// Standard Error: 337
|
|
.saturating_add(Weight::from_ref_time(733_923).saturating_mul(r.into()))
|
|
}
|
|
}
|