Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

seal: Add automated weights for contract API calls #7017

Merged
34 commits merged into from
Oct 8, 2020
Merged

Conversation

athei
Copy link
Member

@athei athei commented Sep 3, 2020

When a contract calls into the supervisor using an API call like seal_gas_left the execution of the contract itself is interrupted and the processing continues inside the supervisor's code (the chains' runtime). The code executed there is unmetered. For that reason, we need to measure the weight for all of those entry points into the supervisor and charge the weight from the gas meter on entry.

This PR adds one or multiple benchmarks per API call and uses them to bootstrap a new cost Schedule. The cost Schedule is a list of all costs (in weight) a contract can incur. It is kept in storage to allow for live adjustments without deploying a new runtime. Lastly, the code is adjusted to make use of the new Schedule.

The commits of this PR can be reviewed individually.

@jacogr The in-storage struct pallet_contracts::Schedule changed and should be carried over to javascript.
@shawntabrizi Currently, the substrate node uses the WeightInfo implementation on () which I generated on my local computer. Once this PR is merged I need you to run the benchmarks on the reference machine for the substrate runtime. Expect this benchmark suite to run for ~ 20 mins with -r 23. Also, you need to supply --heap-pages 4096 to prevent it from going out of memory.

closes #6486

Benchmarking Strategy

The r component

The main challenge here is that we are not benchmarking individual dispatchables as a whole but pieces that are executed as part of that dispatchable: We execute the pallet_contracts:: call dispatchable in order to execute a contract that contains the API call we desire to benchmark. However, by doing that we also record all the overhead that is necessary to start executing the contract. The solution we came up with is introducing a benchmark component r that determines the number of repetitions of the API inside the contract. The linear regression can then determine the amount of time each r contributes. The weight of an API call can then be constructed (this happens on Schedule bootstrapping) by calculating:

T::WeightInfo::seal_gas_left(1) - T::WeightInfo::seal_gas_left(0)

Assuming the only component is r and that the API call in question is seal_gas_left. T::WeightInfo is a trait containing one function per benchmark and whose implementation is generated automatically by executing the benchmarks.

Batching

Sometimes the contribution of a single repetition r can be too small for the linear regression to properly recognize. For that reason, we batch the r component. This means that each r adds not one but a specified amount of repetitions (API_BENCHMARK_BATCH_SIZE) each. When bootstrapping the Schedule we divide the weight by that number. The other batching strategy is to define each component that measures data length in kilobytes and not bytes to increase the influence of that component when compared to the extrinsic overhead.

Multiple benchmarks per API call

When an API call has no static weight but depends on its inputs for weight determination we need to add a component to measure the influence for each input parameter. However, we cannot add those to the benchmark where we are using the r component because then those components become dependent on each other. For that reason, we have multiple benchmarks per API call whenever they have components of their own.

Future Work

With this PR all weights are automated (and hence secure for production) except the weights for individual wasm instructions. Those still use preliminary numbers. The next step will be to automate those using the benchmarking strategies worked out during the development of this PR.

@athei athei added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Sep 3, 2020
@athei athei requested a review from pepyakin September 3, 2020 09:08
@athei athei mentioned this pull request Sep 3, 2020
3 tasks
@kianenigma kianenigma changed the title seal: Add automated weights for API calls seal: Add automated weights for contract API calls Sep 7, 2020
frame/contracts/src/exec.rs Outdated Show resolved Hide resolved
frame/contracts/src/schedule.rs Outdated Show resolved Hide resolved
frame/contracts/src/wasm/runtime.rs Outdated Show resolved Hide resolved
frame/contracts/src/wasm/runtime.rs Outdated Show resolved Hide resolved
@athei athei added the A1-onice label Sep 25, 2020
@athei
Copy link
Member Author

athei commented Sep 25, 2020

On ice until the bench bot is available. I want to merge this PR with the proper weights.

@athei
Copy link
Member Author

athei commented Oct 6, 2020

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Oct 6, 2020

Finished benchmark for branch: at-seal-api-benchmarks

Benchmark: Runtime Benchmarks Pallet

cargo run --release --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml -- benchmark --chain dev --steps 50 --repeat 20 --extrinsic "*" --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_contracts

Results

Compiling node-runtime v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/bin/node/runtime)
Compiling sp-npos-elections-compact v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/npos-elections/compact)
Compiling frame-support-procedural v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/support/procedural)
Compiling sc-network v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/network)
Compiling sp-externalities v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/externalities)
Compiling sp-runtime-interface v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/runtime-interface)
Compiling sp-core v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/core)
Compiling sp-trie v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/trie)
Compiling sp-inherents v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/inherents)
Compiling frame-metadata v12.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/metadata)
Compiling sp-allocator v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/allocator)
Compiling sp-rpc v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/rpc)
Compiling sp-state-machine v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/state-machine)
Compiling sp-finality-tracker v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/finality-tracker)
Compiling sc-executor-common v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/executor/common)
Compiling sc-executor-wasmtime v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/executor/wasmtime)
Compiling sc-executor-wasmi v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/executor/wasmi)
Compiling sp-io v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/io)
Compiling sp-application-crypto v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/application-crypto)
Compiling sp-sandbox v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/sandbox)
Compiling sp-npos-elections v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/npos-elections)
Compiling sp-runtime v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/runtime)
Compiling sc-keystore v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/keystore)
Compiling sp-version v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/version)
Compiling sp-keyring v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/keyring)
Compiling sp-staking v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/staking)
Compiling sp-authorship v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/authorship)
Compiling sp-consensus-slots v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/consensus/slots)
Compiling sp-consensus-vrf v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/consensus/vrf)
Compiling sc-rpc-server v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/rpc-servers)
Compiling pallet-contracts-primitives v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/contracts/common)
Compiling sp-api v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/api)
Compiling sp-consensus v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/consensus/common)
Compiling sp-block-builder v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/block-builder)
Compiling sc-executor v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/executor)
Compiling sp-session v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/session)
Compiling sp-timestamp v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/timestamp)
Compiling sp-offchain v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/offchain)
Compiling sp-finality-grandpa v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/finality-grandpa)
Compiling sp-authority-discovery v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/authority-discovery)
Compiling frame-system-rpc-runtime-api v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/system/rpc/runtime-api)
Compiling pallet-contracts-rpc-runtime-api v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/contracts/rpc/runtime-api)
Compiling sp-blockchain v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/blockchain)
Compiling sp-consensus-babe v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/consensus/babe)
Compiling sp-transaction-pool v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/primitives/transaction-pool)
Compiling pallet-contracts-rpc v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/contracts/rpc)
Compiling sc-client-api v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/api)
Compiling sc-rpc-api v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/rpc-api)
Compiling sc-transaction-graph v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/transaction-pool/graph)
Compiling frame-support v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/support)
Compiling sc-block-builder v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/block-builder)
Compiling sc-state-db v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/state-db)
Compiling sc-light v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/light)
Compiling sc-transaction-pool v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/transaction-pool)
Compiling sc-consensus v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/consensus/common)
Compiling sc-consensus-epochs v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/consensus/epochs)
Compiling sc-consensus-uncles v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/consensus/uncles)
Compiling sc-consensus-slots v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/consensus/slots)
Compiling substrate-frame-rpc-system v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/utils/frame/rpc/system)
Compiling sc-rpc v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/rpc)
Compiling sc-basic-authorship v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/basic-authorship)
Compiling sc-client-db v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/db)
Compiling frame-system v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/system)
Compiling pallet-transaction-payment-rpc-runtime-api v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/transaction-payment/rpc/runtime-api)
Compiling sc-consensus-babe v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/consensus/babe)
Compiling pallet-transaction-payment-rpc v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/transaction-payment/rpc)
Compiling sc-consensus-babe-rpc v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/consensus/babe/rpc)
Compiling frame-benchmarking v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/benchmarking)
Compiling pallet-authorship v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/authorship)
Compiling pallet-finality-tracker v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/finality-tracker)
Compiling pallet-society v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/society)
Compiling pallet-sudo v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/sudo)
Compiling pallet-transaction-payment v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/transaction-payment)
Compiling pallet-recovery v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/recovery)
Compiling pallet-randomness-collective-flip v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/randomness-collective-flip)
Compiling node-primitives v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/bin/node/primitives)
Compiling pallet-membership v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/membership)
Compiling frame-executive v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/executive)
Compiling pallet-timestamp v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/timestamp)
Compiling pallet-balances v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/balances)
Compiling pallet-elections-phragmen v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/elections-phragmen)
Compiling pallet-proxy v2.0.1 (/home/shawntabrizi/bench-bot/git/substrate/frame/proxy)
Compiling pallet-multisig v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/multisig)
Compiling pallet-identity v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/identity)
Compiling pallet-scheduler v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/scheduler)
Compiling pallet-collective v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/collective)
Compiling pallet-utility v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/utility)
Compiling pallet-contracts v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/contracts)
Compiling frame-system-benchmarking v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/system/benchmarking)
Compiling pallet-democracy v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/democracy)
Compiling pallet-indices v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/indices)
Compiling pallet-vesting v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/vesting)
Compiling pallet-session v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/session)
Compiling sc-informant v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/informant)
Compiling sc-chain-spec v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/chain-spec)
Compiling sc-offchain v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/client/offchain)
Compiling sc-network-gossip v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/network-gossip)
Compiling sc-authority-discovery v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/authority-discovery)
Compiling pallet-offences v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/offences)
Compiling pallet-treasury v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/treasury)
Compiling sc-finality-grandpa v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/finality-grandpa)
Compiling sc-service v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/service)
Compiling pallet-staking v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/staking)
Compiling pallet-babe v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/babe)
Compiling pallet-im-online v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/im-online)
Compiling pallet-grandpa v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/grandpa)
Compiling pallet-authority-discovery v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/authority-discovery)
Compiling sc-cli v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/cli)
Compiling sc-finality-grandpa-rpc v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/client/finality-grandpa/rpc)
Compiling node-inspect v0.8.0 (/home/shawntabrizi/bench-bot/git/substrate/bin/node/inspect)
Compiling substrate-frame-cli v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/utils/frame/frame-utilities-cli)
Compiling frame-benchmarking-cli v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/utils/frame/benchmarking-cli)
Compiling pallet-session-benchmarking v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/session/benchmarking)
Compiling pallet-offences-benchmarking v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/frame/offences/benchmarking)
Compiling node-cli v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/bin/node/cli)
Compiling node-rpc v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/bin/node/rpc)
Compiling node-executor v2.0.0 (/home/shawntabrizi/bench-bot/git/substrate/bin/node/executor)
Finished release [optimized] target(s) in 3m 52s
Running target/release/substrate benchmark --chain dev --steps 50 --repeat 20 --extrinsic '*' --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_contracts
Oct 06 17:58:25.983 INFO 💸 new validator set of size 1 has been elected via ElectionCompute::OnChain for era 0

====================

Version: 2.0.0-9d1c66b23-x86_64-linux-gnu

0: sp_panic_handler::set::{{closure}}
1: std::panicking::rust_panic_with_hook
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:530
2: rust_begin_unwind
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:437
3: core::panicking::panic_fmt
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/panicking.rs:85
4: core::option::expect_none_failed
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/option.rs:1269
5: <<sp_io::allocator::HostFunctions as sp_wasm_interface::HostFunctions>::host_functions::ExtAllocatorMallocVersion1 as sp_wasm_interface::Function>::execute
6: scoped_tls::ScopedKey::with
7: sc_executor_wasmtime::imports::call_static
8: wasmtime::func::Func::new::{{closure}}
9: wasmtime::trampoline::func::stub_fn
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22: RegisterSetjmp
23: wasmtime_runtime::traphandlers::catch_traps
24: wasmtime::func::Func::call
25: scoped_tls::ScopedKey::set
26: <sc_executor_wasmtime::runtime::WasmtimeInstance as sc_executor_common::wasm_runtime::WasmInstance>::call
27: std::panicking::try
28: std::thread::local::LocalKey::with
29: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
30: sc_executor::wasm_runtime::RuntimeCache::with_instance
31: <sc_executor::native_executor::NativeExecutor as sp_core::traits::CodeExecutor>::call
32: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_aux
33: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute
34: frame_benchmarking_cli::command::::run
35: node_cli::command::run
36: substrate::main
37: std::rt::lang_start::{{closure}}
38: std::rt::lang_start_internal::{{closure}}
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/rt.rs:52
std::panicking::try::do_call
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:348
std::panicking::try
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panicking.rs:325
std::panic::catch_unwind
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/panic.rs:394
std::rt::lang_start_internal
at /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/rt.rs:51
39: main
40: __libc_start_main
41: _start

Thread 'main' panicked at 'Failed to allocate memory: "Error in allocator: Allocator ran out of space"', primitives/io/src/lib.rs:981

This is a bug. Please report it at:

https://github.com/paritytech/substrate/issues/new

Error: Input("Error executing runtime benchmark: Other("Wasm execution trapped: Failed to allocate memory: \"Error in allocator: Allocator ran out of space\"\nwasm backtrace:\n 0: 0x2e3d79 - !sp_io::allocator::extern_host_function_impls::malloc::h4dd6ba4b078e8d4f\n 1: 0x1c69 - !__rg_alloc\n 2: 0x1c62 - !__rust_alloc\n 3: 0x4783b - !<core::iter::adapters::ResultShunt<I,E> as core::iter::traits::iterator::Iterator>::next::h4c8aef765a5a05a8\n 4: 0x4771a - !<alloc::vec::Vec as alloc::vec::SpecFromIter<T,I>>::from_iter::h481478c6e7f463b4\n 5: 0x21792d - !<pallet_contracts::benchmarking::SelectedBenchmark as frame_benchmarking::utils::BenchmarkingSetup>::instance::h4b9a4b65c9a780a3\n 6: 0x2109ba - !pallet_contracts::benchmarking::<impl frame_benchmarking::utils::Benchmarking<frame_benchmarking::utils::BenchmarkResults> for pallet_contracts::Module>::run_benchmark::{{closure}}::h173d3ea795cfac6a\n 7: 0x1e1111 - !pallet_contracts::benchmarking::<impl frame_benchmarking::utils::Benchmarking<frame_benchmarking::utils::BenchmarkResults> for pallet_contracts::Module>::run_benchmark::hd1c2a62c9e5ec34c\n 8: 0x1d80ed - !<node_runtime::Runtime as frame_benchmarking::utils::runtime_decl_for_Benchmark::Benchmark<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<<pallet_indices::Module<node_runtime::Runtime> as sp_runtime::traits::StaticLookup>::Source,node_runtime::Call,sp_runtime::MultiSignature,(frame_system::extensions::check_spec_version::CheckSpecVersion<node_runtime::Runtime>,frame_system::extensions::check_tx_version::CheckTxVersion<node_runtime::Runtime>,frame_system::extensions::check_genesis::CheckGenesis<node_runtime::Runtime>,frame_system::extensions::check_mortality::CheckMortality<node_runtime::Runtime>,frame_system::extensions::check_nonce::CheckNonce<node_runtime::Runtime>,frame_system::extensions::check_weight::CheckWeight<node_runtime::Runtime>,pallet_transaction_payment::ChargeTransactionPayment<node_runtime::Runtime>)>>>>::dispatch_benchmark::h30ab2a74fd1ee1d4\n 9: 0x2ad738 - !Benchmark_dispatch_benchmark\n")")

@shawntabrizi
Copy link
Member

/benchmark runtime custom --chain dev --steps 50 --repeat 20 --extrinsic "*" --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_contracts --heap-pages 4096

@parity-benchapp
Copy link

parity-benchapp bot commented Oct 6, 2020

Finished benchmark for branch: at-seal-api-benchmarks

Benchmark: Runtime Benchmarks Custom

cargo run --release --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml -- benchmark --chain dev --steps 50 --repeat 20 --extrinsic "*" --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_contracts --heap-pages 4096

Results

Pallet: "pallet_contracts", Extrinsic: "update_schedule", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 33.2
µs

Reads = 1
Writes = 1
Min Squares Analysis

-- Extrinsic Time --

Model:
Time ~= 33.2
µs

Reads = 1
Writes = 1
Pallet: "pallet_contracts", Extrinsic: "put_code", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 18.89
+ n 143.8
µs

Reads = 1 + (0 * n)
Writes = 2 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 125.6 0.522 0.4%
10 1494 1.353 0.0%
20 2866 1.887 0.0%
30 4383 7.437 0.1%
40 5669 6.082 0.1%
50 7437 11.41 0.1%
60 8645 15.84 0.1%
70 9968 11.08 0.1%
80 11200 17.71 0.1%
90 12580 11.15 0.0%
100 14850 13.76 0.0%
110 16060 10.67 0.0%
120 17280 8.111 0.0%
130 18740 17.51 0.0%
140 19990 11.11 0.0%
150 21220 22.64 0.1%
160 22440 18.26 0.0%
170 23630 14.91 0.0%
180 25270 22.88 0.0%
190 26460 14.75 0.0%
200 29720 25.55 0.0%
210 30930 15.1 0.0%
220 32130 14.27 0.0%
230 33340 7.545 0.0%
240 34560 16.77 0.0%
250 35810 11.96 0.0%
260 37460 12.63 0.0%
270 39060 470.2 1.2%
280 40050 32.51 0.0%
290 41200 14.49 0.0%
300 42480 59.57 0.1%
310 43670 21.83 0.0%
320 44860 27.36 0.0%
330 46060 25.62 0.0%
340 47290 12.34 0.0%
350 49730 402.3 0.8%
360 50620 33.14 0.0%
370 51800 22.6 0.0%
380 53000 15.48 0.0%
390 58430 35 0.0%
400 59570 20.73 0.0%
410 60780 17.87 0.0%
420 62010 24.44 0.0%
430 63230 32.13 0.0%
440 64430 21.65 0.0%
450 65670 32.11 0.0%
460 66820 16.56 0.0%
470 68050 19.99 0.0%
480 69320 21.54 0.0%
490 70590 25.46 0.0%
500 71830 10.56 0.0%
510 73130 21.66 0.0%

Quality and confidence:
param error
n 0.25

Model:
Time ~= 0
+ n 144.8
µs

Reads = 1 + (0 * n)
Writes = 2 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "instantiate", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 223.8
+ n 1.007
µs

Reads = 6 + (0 * n)
Writes = 3 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 222.9 0.262 0.1%
20 243.2 0.153 0.0%
40 263.8 0.26 0.0%
60 284.3 0.268 0.0%
80 305.8 0.266 0.0%
100 326.1 0.247 0.0%
120 345 0.191 0.0%
140 365.2 0.357 0.0%
160 385.6 0.173 0.0%
180 405.6 0.143 0.0%
200 425.7 0.141 0.0%
220 446.4 0.261 0.0%
240 465.9 0.345 0.0%
260 485.5 0.217 0.0%
280 505.9 0.36 0.0%
300 525.6 0.193 0.0%
320 545.7 0.263 0.0%
340 565.2 0.109 0.0%
360 585.9 0.476 0.0%
380 605.9 0.322 0.0%
400 625.9 0.21 0.0%
420 645.7 0.362 0.0%
440 666.2 0.586 0.0%
460 686.2 0.561 0.0%
480 707.4 0.752 0.1%
500 728.1 0.312 0.0%
520 747.9 0.198 0.0%
540 768.5 0.89 0.1%
560 787.9 0.308 0.0%
580 809.6 1.614 0.1%
600 828.1 0.343 0.0%
620 848.1 0.246 0.0%
640 869.2 1.001 0.1%
660 888.7 0.96 0.1%
680 908.7 0.409 0.0%
700 930 0.709 0.0%
720 950.4 0.369 0.0%
740 969.8 0.773 0.0%
760 991.2 1.163 0.1%
780 1010 0.905 0.0%
800 1031 0.752 0.0%
820 1050 0.549 0.0%
840 1071 1.592 0.1%
860 1091 0.881 0.0%
880 1111 0.973 0.0%
900 1131 0.864 0.0%
920 1151 0.575 0.0%
940 1172 1.598 0.1%
960 1191 1.443 0.1%
980 1208 1.184 0.0%
1000 1227 0.703 0.0%
1020 1247 0.994 0.0%

Quality and confidence:
param error
n 0

Model:
Time ~= 223.9
+ n 1.007
µs

Reads = 6 + (0 * n)
Writes = 3 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "call", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 210.6
µs

Reads = 5
Writes = 2
Min Squares Analysis

-- Extrinsic Time --

Model:
Time ~= 210.6
µs

Reads = 5
Writes = 2
Pallet: "pallet_contracts", Extrinsic: "claim_surcharge", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 508
µs

Reads = 3
Writes = 2
Min Squares Analysis

-- Extrinsic Time --

Model:
Time ~= 508
µs

Reads = 3
Writes = 2
Pallet: "pallet_contracts", Extrinsic: "seal_caller", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 143.8
+ r 396.6
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 139.6 0.126 0.0%
1 544.2 1.036 0.1%
2 938.1 2.061 0.2%
3 1332 3.003 0.2%
4 1730 6.499 0.3%
5 2129 5.739 0.2%
6 2524 11.85 0.4%
7 2914 6.173 0.2%
8 3306 3.412 0.1%
9 3702 8.812 0.2%
10 4107 9.772 0.2%
11 4497 12.28 0.2%
12 4876 13.45 0.2%
13 5400 21.99 0.4%
14 5790 15.5 0.2%
15 6186 7.293 0.1%
16 6604 11.16 0.1%
17 6858 17.33 0.2%
18 7257 16.32 0.2%
19 7666 10.27 0.1%
20 8036 17.79 0.2%

Quality and confidence:
param error
r 0.523

Model:
Time ~= 143.3
+ r 397.7
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_address", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 146.5
+ r 396.8
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 139.3 0.562 0.4%
1 543.2 1.396 0.2%
2 941.8 3.485 0.3%
3 1338 4.567 0.3%
4 1742 3.692 0.2%
5 2133 5.441 0.2%
6 2531 5.952 0.2%
7 2934 13.67 0.4%
8 3323 4.292 0.1%
9 3713 8.832 0.2%
10 4123 9.093 0.2%
11 4513 9.744 0.2%
12 4912 11.62 0.2%
13 5303 13.47 0.2%
14 5699 13.18 0.2%
15 6091 10.67 0.1%
16 6501 10.75 0.1%
17 6893 13.66 0.1%
18 7287 12.14 0.1%
19 7686 18.43 0.2%
20 8100 15.8 0.1%

Quality and confidence:
param error
r 0.134

Model:
Time ~= 147.2
+ r 396.9
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_gas_left", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 144.6
+ r 392.9
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 139 0.134 0.0%
1 540.2 1.169 0.2%
2 931.9 3.261 0.3%
3 1326 4.502 0.3%
4 1716 4.275 0.2%
5 2109 5.348 0.2%
6 2506 7.721 0.3%
7 2901 9.927 0.3%
8 3288 6.648 0.2%
9 3665 9.917 0.2%
10 4074 5.306 0.1%
11 4457 10.24 0.2%
12 4852 9.894 0.2%
13 5243 9.326 0.1%
14 5641 11.11 0.1%
15 6037 15.25 0.2%
16 6436 14.22 0.2%
17 6842 15.1 0.2%
18 7222 16.11 0.2%
19 7639 24.39 0.3%
20 7996 16.8 0.2%

Quality and confidence:
param error
r 0.165

Model:
Time ~= 141.6
+ r 393.3
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_balance", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 156.2
+ r 879.9
µs

Reads = 5 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 139.5 0.456 0.3%
1 1034 2.422 0.2%
2 1914 3.997 0.2%
3 2804 7.138 0.2%
4 3680 7.702 0.2%
5 4564 10.22 0.2%
6 5446 5.776 0.1%
7 6315 14.63 0.2%
8 7199 10.75 0.1%
9 8066 18.44 0.2%
10 8959 11.58 0.1%
11 9838 18.96 0.1%
12 10720 29.93 0.2%
13 11590 9.835 0.0%
14 12470 19.02 0.1%
15 13360 27.69 0.2%
16 14240 11.42 0.0%
17 15120 22.38 0.1%
18 15970 17.21 0.1%
19 16870 17.95 0.1%
20 17740 24.38 0.1%

Quality and confidence:
param error
r 0.205

Model:
Time ~= 157.5
+ r 879.8
µs

Reads = 5 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_value_transferred", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 146.3
+ r 391.8
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.9 0.095 0.0%
1 538.3 0.94 0.1%
2 928.6 2.615 0.2%
3 1324 3.322 0.2%
4 1713 4.605 0.2%
5 2106 6.629 0.3%
6 2507 7.492 0.2%
7 2888 4.816 0.1%
8 3285 9.202 0.2%
9 3683 4.686 0.1%
10 4066 8.395 0.2%
11 4460 9.788 0.2%
12 4849 11.02 0.2%
13 5228 15.23 0.2%
14 5647 12.22 0.2%
15 6034 10.35 0.1%
16 6414 12.46 0.1%
17 6809 20.08 0.2%
18 7200 19.44 0.2%
19 7582 14.07 0.1%
20 7968 18.79 0.2%

Quality and confidence:
param error
r 0.149

Model:
Time ~= 148.8
+ r 391.6
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_minimum_balance", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 146.7
+ r 393.9
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.5 0.136 0.0%
1 541.8 1.307 0.2%
2 937 2.414 0.2%
3 1331 5.136 0.3%
4 1726 4.158 0.2%
5 2113 4.751 0.2%
6 2508 11.21 0.4%
7 2903 7.98 0.2%
8 3302 10.86 0.3%
9 3706 11.79 0.3%
10 4089 8.939 0.2%
11 4482 13.94 0.3%
12 4874 8.008 0.1%
13 5271 14.68 0.2%
14 5643 11.75 0.2%
15 6056 10.8 0.1%
16 6461 20.47 0.3%
17 6850 17.52 0.2%
18 7227 12.4 0.1%
19 7621 9.851 0.1%
20 8037 22.75 0.2%

Quality and confidence:
param error
r 0.158

Model:
Time ~= 147.2
+ r 393.9
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_tombstone_deposit", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 143.8
+ r 394.4
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.8 0.159 0.1%
1 540 1.584 0.2%
2 935.4 3.06 0.3%
3 1330 5.1 0.3%
4 1734 14.15 0.8%
5 2116 3.749 0.1%
6 2512 7.136 0.2%
7 2902 6.416 0.2%
8 3303 6.232 0.1%
9 3692 10.96 0.2%
10 4092 8.14 0.1%
11 4470 10.18 0.2%
12 4882 6.207 0.1%
13 5273 19.47 0.3%
14 5672 12.12 0.2%
15 6059 9.987 0.1%
16 6455 20.46 0.3%
17 6842 7.671 0.1%
18 7256 8.331 0.1%
19 7635 10.79 0.1%
20 8050 16.45 0.2%

Quality and confidence:
param error
r 0.141

Model:
Time ~= 144.2
+ r 394.6
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_rent_allowance", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 148.8
+ r 923.3
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.8 0.138 0.0%
1 1073 1.568 0.1%
2 1996 3.764 0.1%
3 2922 5.361 0.1%
4 3844 8.682 0.2%
5 4770 4.862 0.1%
6 5681 6.859 0.1%
7 6620 8.605 0.1%
8 7539 10.77 0.1%
9 8464 10.12 0.1%
10 9378 9.887 0.1%
11 10290 12 0.1%
12 11240 12.58 0.1%
13 12150 13.88 0.1%
14 13090 14.96 0.1%
15 13990 17.45 0.1%
16 14920 20.72 0.1%
17 15800 22.06 0.1%
18 16730 17.19 0.1%
19 17680 27.39 0.1%
20 18830 161 0.8%

Quality and confidence:
param error
r 0.691

Model:
Time ~= 135.3
+ r 925.5
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_block_number", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 145.2
+ r 389.9
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.8 0.212 0.1%
1 537.4 1.224 0.2%
2 928.5 1.906 0.2%
3 1317 4.004 0.3%
4 1707 6.201 0.3%
5 2095 4.97 0.2%
6 2476 2.942 0.1%
7 2878 10.48 0.3%
8 3267 7.788 0.2%
9 3652 8.987 0.2%
10 4055 5.631 0.1%
11 4444 13.48 0.3%
12 4832 18.12 0.3%
13 5223 13.01 0.2%
14 5602 11.65 0.2%
15 6002 8.32 0.1%
16 6372 24.48 0.3%
17 6771 16.41 0.2%
18 7159 14.92 0.2%
19 7561 18.5 0.2%
20 7951 17.26 0.2%

Quality and confidence:
param error
r 0.152

Model:
Time ~= 145.8
+ r 390
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_now", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 145
+ r 391.6
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.8 0.207 0.1%
1 536.9 1.301 0.2%
2 929.2 2.847 0.3%
3 1321 2.516 0.1%
4 1713 5.992 0.3%
5 2111 6.836 0.3%
6 2492 4.973 0.1%
7 2889 7.081 0.2%
8 3275 7.087 0.2%
9 3669 7.835 0.2%
10 4066 11.2 0.2%
11 4460 11.72 0.2%
12 4860 18.5 0.3%
13 5239 13.94 0.2%
14 5639 12.85 0.2%
15 6027 14.5 0.2%
16 6413 18.61 0.2%
17 6802 18.57 0.2%
18 7200 8.415 0.1%
19 7577 12.55 0.1%
20 7977 15.18 0.1%

Quality and confidence:
param error
r 0.142

Model:
Time ~= 146.3
+ r 391.7
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_weight_to_fee", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 148.2
+ r 668
µs

Reads = 5 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 139.1 0.094 0.0%
1 821.1 2.048 0.2%
2 1497 7.034 0.4%
3 2148 1.494 0.0%
4 2825 4.678 0.1%
5 3489 4.234 0.1%
6 4159 4.672 0.1%
7 4817 9.016 0.1%
8 5486 13.3 0.2%
9 6160 14 0.2%
10 6819 21.5 0.3%
11 7495 11.41 0.1%
12 8158 10.67 0.1%
13 8832 15.89 0.1%
14 9493 15.95 0.1%
15 10170 17.97 0.1%
16 10810 12.51 0.1%
17 11490 15.72 0.1%
18 12160 16.59 0.1%
19 12820 24.03 0.1%
20 13760 31.46 0.2%

Quality and confidence:
param error
r 0.62

Model:
Time ~= 129.8
+ r 670.7
µs

Reads = 5 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_gas", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 129.6
+ r 198.5
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 123.8 0.169 0.1%
1 327.8 0.43 0.1%
2 528 1.649 0.3%
3 728.5 1.817 0.2%
4 924.9 2.966 0.3%
5 1122 2.086 0.1%
6 1324 3.787 0.2%
7 1521 4.72 0.3%
8 1721 3.843 0.2%
9 1918 4.436 0.2%
10 2110 3.838 0.1%
11 2314 10.34 0.4%
12 2514 7.105 0.2%
13 2712 7.144 0.2%
14 2916 6.657 0.2%
15 3108 9.27 0.2%
16 3301 9.184 0.2%
17 3495 13.95 0.3%
18 3700 11.98 0.3%
19 3910 11.83 0.3%
20 4092 17.25 0.4%

Quality and confidence:
param error
r 0.102

Model:
Time ~= 130.9
+ r 198.4
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_input", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 138.6
+ r 8.362
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.6 0.116 0.0%
1 147 0.196 0.1%

Quality and confidence:
param error
r 0.076

Model:
Time ~= 138.6
+ r 8.363
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_input_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 149.4
+ n 0.272
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 146.8 0.175 0.1%
20 153.5 0.127 0.0%
40 159.9 0.158 0.0%
60 165.6 0.277 0.1%
80 171.1 0.093 0.0%
100 176.7 0.234 0.1%
120 182.1 0.187 0.1%
140 190 1.864 0.9%
160 193 0.092 0.0%
180 198.7 0.151 0.0%
200 203.8 0.104 0.0%
220 209.5 0.16 0.0%
240 215 0.147 0.0%
260 220.6 0.101 0.0%
280 225.9 0.159 0.0%
300 231.5 0.129 0.0%
320 236.5 0.19 0.0%
340 242.3 0.168 0.0%
360 247.8 0.128 0.0%
380 252.9 0.144 0.0%
400 258.6 0.165 0.0%
420 264 0.271 0.1%
440 269.4 0.228 0.0%
460 274.9 0.153 0.0%
480 280.3 0.16 0.0%
500 285.7 0.161 0.0%
520 291.1 0.169 0.0%
540 296.6 0.087 0.0%
560 302 0.217 0.0%
580 307.2 0.187 0.0%
600 312.7 0.205 0.0%
620 318.1 0.296 0.0%
640 323.5 0.281 0.0%
660 329.2 0.201 0.0%
680 334.8 0.307 0.0%
700 340.2 0.285 0.0%
720 345.6 0.308 0.0%
740 350.9 0.328 0.0%
760 356.2 0.195 0.0%
780 361.9 0.36 0.0%
800 367.3 0.152 0.0%
820 372.5 0.178 0.0%
840 378.3 0.252 0.0%
860 383.2 0.163 0.0%
880 389 0.299 0.0%
900 394.3 0.187 0.0%
920 400 0.255 0.0%
940 405.5 0.202 0.0%
960 410.9 0.384 0.0%
980 416.7 0.294 0.0%
1000 421.6 0.221 0.0%
1020 427 0.167 0.0%

Quality and confidence:
param error
n 0

Model:
Time ~= 149.4
+ n 0.272
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_return", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 129.1
+ r 5.756
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 129.1 0.173 0.1%
1 134.8 0.088 0.0%

Quality and confidence:
param error
r 0.064

Model:
Time ~= 129.1
+ r 5.745
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_return_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 139.9
+ n 0.679
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 134.8 0.116 0.0%
20 153.1 0.132 0.0%
40 167.3 0.251 0.1%
60 180.5 0.147 0.0%
80 194.5 0.128 0.0%
100 208.1 0.101 0.0%
120 222.1 0.211 0.0%
140 235 0.127 0.0%
160 248.3 0.275 0.1%
180 262.1 0.134 0.0%
200 275.3 0.169 0.0%
220 289.2 0.145 0.0%
240 302.7 0.132 0.0%
260 316.1 0.154 0.0%
280 330 0.129 0.0%
300 343.9 0.158 0.0%
320 357.4 0.197 0.0%
340 371.1 0.163 0.0%
360 384.9 0.124 0.0%
380 398.6 0.307 0.0%
400 411.6 0.15 0.0%
420 425.6 0.179 0.0%
440 439.3 0.117 0.0%
460 452.9 0.242 0.0%
480 466.5 0.262 0.0%
500 480 0.21 0.0%
520 492.5 0.067 0.0%
540 506.6 0.156 0.0%
560 520.2 0.234 0.0%
580 533.5 0.307 0.0%
600 547.4 0.231 0.0%
620 560.7 0.137 0.0%
640 574.1 0.345 0.0%
660 587.7 0.149 0.0%
680 602 0.154 0.0%
700 615.3 0.167 0.0%
720 629.4 0.122 0.0%
740 642.7 0.21 0.0%
760 656 0.174 0.0%
780 669.6 0.278 0.0%
800 683.6 0.22 0.0%
820 696.9 0.235 0.0%
840 710.4 0.364 0.0%
860 724 0.211 0.0%
880 737.6 0.207 0.0%
900 751.2 0.184 0.0%
920 764.8 0.118 0.0%
940 778.7 0.269 0.0%
960 792.2 0.163 0.0%
980 806.1 0.22 0.0%
1000 819.2 0.212 0.0%
1020 832.9 0.176 0.0%

Quality and confidence:
param error
n 0

Model:
Time ~= 139.6
+ n 0.68
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_terminate", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 138.7
+ r 355.9
µs

Reads = 4 + (2 * r)
Writes = 0 + (3 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 138.5 0.206 0.1%
1 494 1.253 0.2%

Quality and confidence:
param error
r 0.423

Model:
Time ~= 138.5
+ r 355.4
µs

Reads = 4 + (2 * r)
Writes = 0 + (3 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_restore_to", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 240.1
+ r 138.1
µs

Reads = 5 + (3 * r)
Writes = 0 + (4 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 239.8 0.744 0.3%
1 378.1 0.859 0.2%

Quality and confidence:
param error
r 0.378

Model:
Time ~= 239.8
+ r 138.3
µs

Reads = 5 + (3 * r)
Writes = 0 + (4 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_restore_to_per_delta", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 46.08
+ d 3743
µs

Reads = 7 + (100 * d)
Writes = 5 + (100 * d)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
d mean µs sigma µs %
0 573.5 2.453 0.4%
1 4000 5.937 0.1%
2 7644 15.69 0.2%
3 11300 11.83 0.1%
4 15020 21.71 0.1%
5 18700 10.1 0.0%
6 22390 29.35 0.1%
7 26080 24.08 0.0%
8 29880 39.82 0.1%
9 33610 28.23 0.0%
10 37310 31.43 0.0%
11 41110 48.79 0.1%
12 44790 57.74 0.1%
13 48570 64.57 0.1%
14 52310 39.02 0.0%
15 56340 58.97 0.1%
16 59890 41.48 0.0%
17 63720 42.97 0.0%
18 67690 36.03 0.0%
19 71480 63.47 0.0%
20 75560 66.05 0.0%

Quality and confidence:
param error
d 2.614

Model:
Time ~= 40.57
+ d 3748
µs

Reads = 7 + (100 * d)
Writes = 5 + (100 * d)
Pallet: "pallet_contracts", Extrinsic: "seal_random", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 148.3
+ r 1036
µs

Reads = 5 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 139.5 0.201 0.1%
1 1187 2.002 0.1%
2 2224 2.32 0.1%
3 3261 3.41 0.1%
4 4293 5.211 0.1%
5 5326 9.534 0.1%
6 6372 9.317 0.1%
7 7399 8.149 0.1%
8 8434 10.37 0.1%
9 9481 13.41 0.1%
10 10500 11.43 0.1%
11 11550 14.1 0.1%
12 12590 18.42 0.1%
13 13610 21.35 0.1%
14 14660 12.7 0.0%
15 15690 20.85 0.1%
16 16730 20.82 0.1%
17 17730 23.06 0.1%
18 18820 18.46 0.0%
19 19820 22.91 0.1%
20 20890 21.62 0.1%

Quality and confidence:
param error
r 0.214

Model:
Time ~= 148.1
+ r 1036
µs

Reads = 5 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_deposit_event", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 161.7
+ r 1497
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 129.4 0.084 0.0%
1 1651 2.047 0.1%
2 3154 3.976 0.1%
3 4664 8.508 0.1%
4 6161 8.514 0.1%
5 7655 10.83 0.1%
6 9161 16.71 0.1%
7 10650 10.04 0.0%
8 12150 9.181 0.0%
9 13650 12.52 0.0%
10 15140 18.97 0.1%
11 16610 13.83 0.0%
12 18460 28.08 0.1%
13 19680 35.92 0.1%
14 21120 22.82 0.1%
15 22620 20.5 0.0%
16 24150 28.79 0.1%
17 25620 37 0.1%
18 27040 27.03 0.0%
19 28590 16.25 0.0%
20 30080 37.76 0.1%

Quality and confidence:
param error
r 0.89

Model:
Time ~= 176
+ r 1497
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_deposit_event_per_topic_and_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 2020
+ t 772
+ n 238.5
µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 0 + (100 * t) + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
t n mean µs sigma µs %
0 16 5652 9.988 0.1%
1 16 6635 17 0.2%
2 16 7439 14.14 0.1%
3 16 8172 10.05 0.1%
4 0 5043 13.26 0.2%
4 1 5336 4.359 0.0%
4 2 5558 5.357 0.0%
4 3 5791 16.83 0.2%
4 4 6017 6.717 0.1%
4 5 6279 10.98 0.1%
4 6 6490 13.82 0.2%
4 7 6722 14.43 0.2%
4 8 6945 11.64 0.1%
4 9 7214 13.23 0.1%
4 10 7426 8.957 0.1%
4 11 7690 7.658 0.0%
4 12 7916 17.64 0.2%
4 13 8198 11.5 0.1%
4 14 8416 6.244 0.0%
4 15 8648 14.57 0.1%
4 16 8896 15.66 0.1%

Quality and confidence:
param error
t 3.212
n 0.633

Model:
Time ~= 1923
+ t 783.3
+ n 240.6
µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 0 + (100 * t) + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_set_rent_allowance", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 149.7
+ r 1104
µs

Reads = 4 + (0 * r)
Writes = 1 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 137 0.125 0.0%
1 1255 2.638 0.2%
2 2360 6.94 0.2%
3 3458 4.71 0.1%
4 4566 4.777 0.1%
5 5682 8.994 0.1%
6 6777 12.33 0.1%
7 7888 16.34 0.2%
8 8989 8.43 0.0%
9 10100 17.9 0.1%
10 11200 15.25 0.1%
11 12310 21.1 0.1%
12 13400 13.43 0.1%
13 14510 24.57 0.1%
14 15600 26.14 0.1%
15 16730 28.66 0.1%
16 17850 17.93 0.1%
17 18880 29.23 0.1%
18 19990 28.19 0.1%
19 21160 30.02 0.1%
20 22250 13.91 0.0%

Quality and confidence:
param error
r 0.285

Model:
Time ~= 151
+ r 1104
µs

Reads = 4 + (0 * r)
Writes = 1 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_set_storage", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 0
+ r 14900
µs

Reads = 4 + (100 * r)
Writes = 1 + (100 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 133.5 0.165 0.1%
1 15680 29.17 0.1%
2 29020 48.85 0.1%
3 43180 28.28 0.0%
4 57480 44.37 0.0%
5 71810 38.12 0.0%
6 89180 1290 1.4%
7 104400 35.69 0.0%
8 119100 42.96 0.0%
9 134300 150.1 0.1%
10 149300 86.85 0.0%
11 162900 622.9 0.3%
12 177100 73.38 0.0%
13 192000 156 0.0%
14 205000 166 0.0%
15 221900 258.4 0.1%
16 236500 172 0.0%
17 251500 198.3 0.0%
18 268000 2145 0.8%
19 287200 125.7 0.0%
20 302000 101 0.0%

Quality and confidence:
param error
r 21.64

Model:
Time ~= 0
+ r 14970
µs

Reads = 4 + (100 * r)
Writes = 1 + (100 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_set_storage_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 2488
+ n 201.2
µs

Reads = 5 + (0 * n)
Writes = 2 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 2353 1.932 0.0%
1 2681 8.813 0.3%
2 2916 8.615 0.2%
3 3107 3.284 0.1%
4 3299 7.22 0.2%
5 3500 4.245 0.1%
6 3691 3.16 0.0%
7 3911 12.15 0.3%
8 4089 3.109 0.0%
9 4285 7.881 0.1%
10 4497 11.36 0.2%
11 4679 9.786 0.2%
12 4895 9.588 0.1%
13 5102 5.09 0.0%
14 5312 12.29 0.2%
15 5527 13.09 0.2%
16 5689 15.52 0.2%

Quality and confidence:
param error
n 0.54

Model:
Time ~= 2465
+ n 203.1
µs

Reads = 5 + (0 * n)
Writes = 2 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_clear_storage", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 0
+ r 5244
µs

Reads = 4 + (100 * r)
Writes = 1 + (100 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 131.7 0.092 0.0%
1 5431 43 0.7%
2 10520 13.76 0.1%
3 15670 14.08 0.0%
4 20850 19.68 0.0%
5 26030 20.8 0.0%
6 31220 16.16 0.0%
7 36460 35.57 0.0%
8 41610 26.84 0.0%
9 46930 53.54 0.1%
10 52250 54.65 0.1%
11 57450 33.42 0.0%
12 62600 79.16 0.1%
13 68000 83.57 0.1%
14 73340 52.08 0.0%
15 78330 118.5 0.1%
16 83820 95.99 0.1%
17 89000 69.92 0.0%
18 94750 75.23 0.0%
19 99920 75.38 0.0%
20 105400 84.3 0.0%

Quality and confidence:
param error
r 2.779

Model:
Time ~= 0
+ r 5254
µs

Reads = 4 + (100 * r)
Writes = 1 + (100 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_get_storage", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 96.38
+ r 1131
µs

Reads = 4 + (100 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 132.1 0.138 0.1%
1 1292 2.767 0.2%
2 2389 5.051 0.2%
3 3500 10.99 0.3%
4 4566 12.18 0.2%
5 5716 18.63 0.3%
6 6851 8.389 0.1%
7 7935 24.44 0.3%
8 9131 44.6 0.4%
9 10300 28.38 0.2%
10 11380 33.59 0.2%
11 12490 23.22 0.1%
12 13550 24.85 0.1%
13 14770 51.6 0.3%
14 15880 28.38 0.1%
15 17100 61.14 0.3%
16 18170 42.42 0.2%
17 19200 47.84 0.2%
18 20570 24 0.1%
19 21920 65.28 0.2%
20 22820 36.7 0.1%

Quality and confidence:
param error
r 1.122

Model:
Time ~= 60.3
+ r 1135
µs

Reads = 4 + (100 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_get_storage_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 939.5
+ n 144
µs

Reads = 5 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 886.8 1.882 0.2%
1 1074 2.886 0.2%
2 1238 2.48 0.2%
3 1376 2.381 0.1%
4 1521 1.544 0.1%
5 1667 2.62 0.1%
6 1807 4.557 0.2%
7 1946 4.324 0.2%
8 2097 4.079 0.1%
9 2244 10.23 0.4%
10 2373 2.96 0.1%
11 2513 9.333 0.3%
12 2645 2.703 0.1%
13 2807 2.435 0.0%
14 2955 3.2 0.1%
15 3103 3.364 0.1%
16 3243 4.325 0.1%

Quality and confidence:
param error
n 0.24

Model:
Time ~= 931.9
+ n 144.5
µs

Reads = 5 + (0 * n)
Writes = 0 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_transfer", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 111.4
+ r 6695
µs

Reads = 5 + (100 * r)
Writes = 1 + (100 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 141.2 0.17 0.1%
1 6825 13 0.1%
2 13530 28.46 0.2%
3 20220 22.11 0.1%
4 26840 32.65 0.1%
5 33620 22.8 0.0%
6 40160 32.29 0.0%
7 46960 44.07 0.0%
8 53450 40.59 0.0%
9 60560 51.35 0.0%
10 66900 60.82 0.0%
11 73600 26.72 0.0%
12 80450 61.85 0.0%
13 87070 83.06 0.0%
14 93940 70.46 0.0%
15 100200 39.5 0.0%
16 107100 81.4 0.0%
17 113400 79.73 0.0%
18 120900 119.2 0.0%
19 127700 92.93 0.0%
20 134200 110.6 0.0%

Quality and confidence:
param error
r 2.34

Model:
Time ~= 50.72
+ r 6701
µs

Reads = 5 + (100 * r)
Writes = 1 + (100 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_call", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 0
+ r 10540
µs

Reads = 5 + (100 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 141.2 0.092 0.0%
1 10510 11.18 0.1%
2 20810 22.34 0.1%
3 31000 17.09 0.0%
4 41520 84.39 0.2%
5 52620 47.43 0.0%
6 63130 32.44 0.0%
7 73320 417.4 0.5%
8 83100 29.39 0.0%
9 93450 57.89 0.0%
10 104100 75.87 0.0%
11 114500 76.03 0.0%
12 124900 34.97 0.0%
13 136100 749.7 0.5%
14 147700 681.4 0.4%
15 158700 127.5 0.0%
16 168200 1093 0.6%
17 180000 177.2 0.0%
18 190500 192.7 0.1%
19 200600 853.8 0.4%
20 212000 316.1 0.1%

Quality and confidence:
param error
r 9.62

Model:
Time ~= 0
+ r 10580
µs

Reads = 5 + (100 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_call_per_transfer_input_output_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 11060
+ t 4585
+ i 50.83
+ o 72.88
µs

Reads = 105 + (101 * t) + (0 * i) + (0 * o)
Writes = 0 + (101 * t) + (0 * i) + (0 * o)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
t i o mean µs sigma µs %
0 1024 960 133000 64.71 0.0%
1 0 960 86120 34.46 0.0%
1 20 960 87180 102 0.1%
1 40 960 88190 48 0.0%
1 60 960 89310 53.73 0.0%
1 80 960 90210 103.9 0.1%
1 100 960 91180 49.91 0.0%
1 120 960 92250 64.7 0.0%
1 140 960 93120 34.73 0.0%
1 160 960 94250 29.89 0.0%
1 180 960 95280 58.68 0.0%
1 200 960 96250 26.52 0.0%
1 220 960 97370 65.38 0.0%
1 240 960 98370 44.45 0.0%
1 260 960 99530 34.67 0.0%
1 280 960 100500 24.26 0.0%
1 300 960 100700 284.8 0.2%
1 320 960 102200 49.47 0.0%
1 340 960 103300 55.31 0.0%
1 360 960 104400 29.63 0.0%
1 380 960 105400 35.75 0.0%
1 400 960 106500 23.06 0.0%
1 420 960 107500 67.53 0.0%
1 440 960 108500 30.13 0.0%
1 460 960 109600 36.91 0.0%
1 480 960 110600 68.69 0.0%
1 500 960 111600 39.47 0.0%
1 520 960 112900 63.26 0.0%
1 540 960 113800 30.02 0.0%
1 560 960 114900 34.44 0.0%
1 580 960 115600 75.52 0.0%
1 600 960 116700 52.43 0.0%
1 620 960 117800 66.89 0.0%
1 640 960 118700 56.86 0.0%
1 660 960 119800 57.7 0.0%
1 680 960 120700 79.92 0.0%
1 700 960 121800 64.78 0.0%
1 720 960 122700 38.65 0.0%
1 740 960 123800 41.69 0.0%
1 760 960 124800 46.12 0.0%
1 780 960 125800 38.12 0.0%
1 800 960 126900 80.85 0.0%
1 820 960 127900 64.84 0.0%
1 840 960 128900 61.9 0.0%
1 860 960 129900 33.55 0.0%
1 880 960 130800 29.52 0.0%
1 900 960 131900 57.49 0.0%
1 920 960 133100 65.58 0.0%
1 940 960 134100 27.41 0.0%
1 960 960 134200 34.56 0.0%
1 980 960 135000 154.8 0.1%
1 1000 960 136400 68.71 0.0%
1 1020 960 137500 59.35 0.0%
1 1024 0 67280 177.6 0.2%
1 1024 19 68910 20.36 0.0%
1 1024 38 70500 21.53 0.0%
1 1024 57 72000 32.25 0.0%
1 1024 76 73380 66.03 0.0%
1 1024 95 74940 49.94 0.0%
1 1024 114 76570 104.1 0.1%
1 1024 133 77890 65.75 0.0%
1 1024 152 79330 65.84 0.0%
1 1024 171 80340 22.39 0.0%
1 1024 190 81890 160.9 0.1%
1 1024 209 83390 27.49 0.0%
1 1024 228 84790 22.95 0.0%
1 1024 247 86180 37.12 0.0%
1 1024 266 87520 32.19 0.0%
1 1024 285 89030 36.57 0.0%
1 1024 304 90220 35.64 0.0%
1 1024 323 91680 46.48 0.0%
1 1024 342 93080 39.88 0.0%
1 1024 361 94580 62.96 0.0%
1 1024 380 95830 50.28 0.0%
1 1024 399 97270 46.76 0.0%
1 1024 418 98700 48.88 0.0%
1 1024 437 100400 45.59 0.0%
1 1024 456 100500 21.89 0.0%
1 1024 475 102500 33.21 0.0%
1 1024 494 104000 31.27 0.0%
1 1024 513 105500 40.83 0.0%
1 1024 532 106900 44.51 0.0%
1 1024 551 108300 33.17 0.0%
1 1024 570 109700 25.4 0.0%
1 1024 589 111100 42.15 0.0%
1 1024 608 112500 73.76 0.0%
1 1024 627 113900 56.26 0.0%
1 1024 646 114900 39.43 0.0%
1 1024 665 116300 61.64 0.0%
1 1024 684 117700 40.54 0.0%
1 1024 703 119300 114.3 0.0%
1 1024 722 120700 22.4 0.0%
1 1024 741 122100 45.04 0.0%
1 1024 760 123500 95.1 0.0%
1 1024 779 124800 78.83 0.0%
1 1024 798 126200 35.3 0.0%
1 1024 817 127500 56.92 0.0%
1 1024 836 128900 75.43 0.0%
1 1024 855 130300 57.84 0.0%
1 1024 874 131900 66 0.0%
1 1024 893 133500 73.04 0.0%
1 1024 912 134100 48.17 0.0%
1 1024 931 134900 172 0.1%
1 1024 950 136900 62 0.0%
1 1024 960 137600 65.73 0.0%

Quality and confidence:
param error
t 85.17
i 0.03
o 0.032

Model:
Time ~= 11220
+ t 4965
+ i 50.6
+ o 72.97
µs

Reads = 105 + (101 * t) + (0 * i) + (0 * o)
Writes = 0 + (101 * t) + (0 * i) + (0 * o)
Pallet: "pallet_contracts", Extrinsic: "seal_instantiate", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 0
+ r 22890
µs

Reads = 6 + (300 * r)
Writes = 2 + (200 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 142.8 0.214 0.1%
1 21150 20.46 0.0%
2 42350 19.05 0.0%
3 63650 36.29 0.0%
4 85400 33.13 0.0%
5 107100 41.03 0.0%
6 129100 113.7 0.0%
7 151400 75.16 0.0%
8 173800 92.83 0.0%
9 196200 78.76 0.0%
10 218800 164 0.0%
11 241500 129.4 0.0%
12 265800 641.8 0.2%
13 290000 508.3 0.1%
14 312900 387.5 0.1%
15 336500 499.3 0.1%
16 360200 409.1 0.1%
17 385600 749.9 0.1%
18 408500 655 0.1%
19 433900 389 0.0%
20 458400 310.3 0.0%

Quality and confidence:
param error
r 38.31

Model:
Time ~= 0
+ r 22930
µs

Reads = 6 + (300 * r)
Writes = 2 + (200 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_instantiate_per_input_output_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 21000
+ i 152.5
+ o 73.46
µs

Reads = 207 + (0 * i) + (0 * o)
Writes = 202 + (0 * i) + (0 * o)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
i o mean µs sigma µs %
0 960 91560 59.53 0.0%
19 960 94670 27.89 0.0%
38 960 97580 56.03 0.0%
57 960 100700 31.43 0.0%
76 960 103100 50.89 0.0%
95 960 106000 35.06 0.0%
114 960 109000 44.58 0.0%
133 960 111900 43.67 0.0%
152 960 114800 28.71 0.0%
171 960 117500 75.52 0.0%
190 960 120400 27.51 0.0%
209 960 123300 73.73 0.0%
228 960 126100 30.7 0.0%
247 960 129000 37.6 0.0%
266 960 132000 50.2 0.0%
285 960 134900 22.01 0.0%
304 960 137500 42.95 0.0%
323 960 140400 47.87 0.0%
342 960 143400 36.32 0.0%
361 960 146200 73.42 0.0%
380 960 149300 54.84 0.0%
399 960 152100 39.59 0.0%
418 960 155000 34.72 0.0%
437 960 158000 45.9 0.0%
456 960 160800 31.71 0.0%
475 960 163600 34.38 0.0%
494 960 166400 32.07 0.0%
513 960 170000 60.75 0.0%
532 960 172700 91.97 0.0%
551 960 175700 49.94 0.0%
570 960 178600 32.37 0.0%
589 960 181500 57.49 0.0%
608 960 184300 41.06 0.0%
627 960 187400 127.6 0.0%
646 960 190200 44.25 0.0%
665 960 193200 54.5 0.0%
684 960 196100 77.84 0.0%
703 960 199100 74.29 0.0%
722 960 201600 11.14 0.0%
741 960 204100 70.12 0.0%
760 960 207300 99.89 0.0%
779 960 210200 42.04 0.0%
798 960 213200 109.8 0.0%
817 960 216200 56.56 0.0%
836 960 219000 26.13 0.0%
855 960 222000 77.38 0.0%
874 960 224900 47.86 0.0%
893 960 227900 66.37 0.0%
912 960 230600 91.33 0.0%
931 960 233600 35.82 0.0%
950 960 236400 54.7 0.0%
960 0 166900 43.61 0.0%
960 19 168600 48.56 0.0%
960 38 170100 86.14 0.0%
960 57 171900 44.22 0.0%
960 76 173000 25.39 0.0%
960 95 174600 55.39 0.0%
960 114 176100 40.1 0.0%
960 133 177400 40.43 0.0%
960 152 178600 53.35 0.0%
960 171 180100 29.07 0.0%
960 190 181600 89.02 0.0%
960 209 182900 40.29 0.0%
960 228 184300 45.32 0.0%
960 247 185700 52.58 0.0%
960 266 187000 74.89 0.0%
960 285 188400 40.74 0.0%
960 304 189700 48.27 0.0%
960 323 191100 32.73 0.0%
960 342 192600 56.79 0.0%
960 361 194000 32.01 0.0%
960 380 195300 24.78 0.0%
960 399 196800 54.49 0.0%
960 418 198300 73.18 0.0%
960 437 199700 67.96 0.0%
960 456 201000 114.1 0.0%
960 475 201600 15.22 0.0%
960 494 202600 223.2 0.1%
960 513 205100 68.03 0.0%
960 532 206500 44.57 0.0%
960 551 207900 40.58 0.0%
960 570 209400 69.54 0.0%
960 589 210800 46.91 0.0%
960 608 212300 68.98 0.0%
960 627 213700 111 0.0%
960 646 215100 91.9 0.0%
960 665 216300 97.31 0.0%
960 684 217700 58.54 0.0%
960 703 219100 50.74 0.0%
960 722 220600 59.14 0.0%
960 741 222000 36.91 0.0%
960 760 223200 115.1 0.0%
960 779 224800 95.73 0.0%
960 798 226200 79.13 0.0%
960 817 227600 31.08 0.0%
960 836 229100 82.34 0.0%
960 855 230100 74.18 0.0%
960 874 231700 118.3 0.0%
960 893 233100 65.54 0.0%
960 912 234300 79.27 0.0%
960 931 235800 73.78 0.0%
960 950 237200 113 0.0%

Quality and confidence:
param error
i 0.028
o 0.028

Model:
Time ~= 20980
+ i 152.6
+ o 73.45
µs

Reads = 207 + (0 * i) + (0 * o)
Writes = 202 + (0 * i) + (0 * o)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_sha2_256", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 145.2
+ r 343.5
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 130.2 0.126 0.0%
1 488.4 0.817 0.1%
2 834.7 1.176 0.1%
3 1176 1.148 0.0%
4 1518 2.392 0.1%
5 1862 3.655 0.1%
6 2206 3.839 0.1%
7 2557 5.072 0.1%
8 2914 7.008 0.2%
9 3239 5.124 0.1%
10 3582 6.659 0.1%
11 3920 5.865 0.1%
12 4273 8.318 0.1%
13 4614 11 0.2%
14 4955 8.215 0.1%
15 5293 8.215 0.1%
16 5640 12.08 0.2%
17 5989 11.71 0.1%
18 6332 13.39 0.2%
19 6675 8.876 0.1%
20 7002 11.65 0.1%

Quality and confidence:
param error
r 0.118

Model:
Time ~= 145.9
+ r 343.5
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_sha2_256_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 646
+ n 420.3
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 490.1 1.104 0.2%
20 8991 11.51 0.1%
40 17410 15.3 0.0%
60 25790 10.13 0.0%
80 34290 18.17 0.0%
100 42610 16.04 0.0%
120 51090 28.19 0.0%
140 59420 20.11 0.0%
160 68290 578 0.8%
180 76420 44.54 0.0%
200 84700 19.26 0.0%
220 93150 28.99 0.0%
240 101500 33.44 0.0%
260 109900 34.32 0.0%
280 118200 49.28 0.0%
300 126800 33.64 0.0%
320 135200 35.91 0.0%
340 143900 25.57 0.0%
360 151900 58.72 0.0%
380 160200 53.54 0.0%
400 168700 63.85 0.0%
420 177100 28.3 0.0%
440 185600 54.89 0.0%
460 194000 56.37 0.0%
480 202200 49.86 0.0%
500 210800 70.84 0.0%
520 219200 51.67 0.0%
540 227600 84.66 0.0%
560 236800 58.82 0.0%
580 245100 42 0.0%
600 253600 49.13 0.0%
620 262000 79.16 0.0%
640 269800 67.25 0.0%
660 278200 37.45 0.0%
680 286500 99.97 0.0%
700 295000 65.24 0.0%
720 303400 65.76 0.0%
740 311700 91.61 0.0%
760 320300 101.1 0.0%
780 328500 65.53 0.0%
800 337000 59.62 0.0%
820 345100 70.1 0.0%
840 353500 50.89 0.0%
860 362000 95.75 0.0%
880 370200 61.08 0.0%
900 378800 85.1 0.0%
920 387200 61.05 0.0%
940 395700 95.54 0.0%
960 403300 26.6 0.0%
980 412100 113.5 0.0%
1000 420800 86.46 0.0%
1020 430200 39.49 0.0%

Quality and confidence:
param error
n 0.045

Model:
Time ~= 719.7
+ n 420.3
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_keccak_256", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 134.4
+ r 358
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 130.9 0.112 0.0%
1 500.4 0.472 0.0%
2 855.9 2.026 0.2%
3 1216 2.202 0.1%
4 1565 2.762 0.1%
5 1920 4.433 0.2%
6 2278 5.26 0.2%
7 2628 8.805 0.3%
8 2992 6.977 0.2%
9 3355 8.533 0.2%
10 3703 8.659 0.2%
11 4059 10.85 0.2%
12 4422 7.382 0.1%
13 4783 14.63 0.3%
14 5134 8.23 0.1%
15 5492 11.14 0.2%
16 5865 14.12 0.2%
17 6188 20.52 0.3%
18 6637 62.34 0.9%
19 7060 18.57 0.2%
20 7375 57.11 0.7%

Quality and confidence:
param error
r 0.432

Model:
Time ~= 116.2
+ r 360.6
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_keccak_256_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 561.3
+ n 333.1
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 501.8 1.052 0.2%
20 7197 1.918 0.0%
40 13880 16.01 0.1%
60 20530 10.82 0.0%
80 27140 13.2 0.0%
100 33810 13.41 0.0%
120 40490 13.81 0.0%
140 47230 24.43 0.0%
160 53860 27.52 0.0%
180 60560 23.49 0.0%
200 67180 23.06 0.0%
220 73900 45.23 0.0%
240 80600 27.25 0.0%
260 87180 41.01 0.0%
280 93900 43.49 0.0%
300 100400 14.93 0.0%
320 107100 37.73 0.0%
340 113800 27.18 0.0%
360 120400 47.04 0.0%
380 127100 28.16 0.0%
400 133900 39.26 0.0%
420 140500 41.61 0.0%
440 147300 70.17 0.0%
460 153900 56.96 0.0%
480 160300 122.3 0.0%
500 167100 52.69 0.0%
520 173800 62.74 0.0%
540 180400 40.46 0.0%
560 187000 29.68 0.0%
580 193800 40.93 0.0%
600 200400 87.58 0.0%
620 207000 72.79 0.0%
640 213700 49.36 0.0%
660 220300 20.29 0.0%
680 227100 53.3 0.0%
700 233700 25.45 0.0%
720 240200 60.45 0.0%
740 247000 81.82 0.0%
760 253800 41.53 0.0%
780 260300 61.88 0.0%
800 267200 50.12 0.0%
820 273800 69.91 0.0%
840 280300 68.73 0.0%
860 287000 107.3 0.0%
880 293700 70.19 0.0%
900 300400 39.03 0.0%
920 307000 58.07 0.0%
940 313700 45.45 0.0%
960 320200 73.69 0.0%
980 327000 46.94 0.0%
1000 333600 184.3 0.0%
1020 339900 37.59 0.0%

Quality and confidence:
param error
n 0.015

Model:
Time ~= 583.7
+ n 333
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_blake2_256", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 143
+ r 332.2
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 130.4 0.089 0.0%
1 476.4 0.915 0.1%
2 810.4 1.759 0.2%
3 1143 2.401 0.2%
4 1474 4.633 0.3%
5 1801 2.786 0.1%
6 2129 4.81 0.2%
7 2469 6.694 0.2%
8 2794 6.727 0.2%
9 3140 6.271 0.1%
10 3460 4.036 0.1%
11 3799 6.759 0.1%
12 4128 6.522 0.1%
13 4467 11.38 0.2%
14 4869 31.35 0.6%
15 5180 7.718 0.1%
16 5496 14.88 0.2%
17 5757 16.95 0.2%
18 6115 9.741 0.1%
19 6445 16.34 0.2%
20 6746 18.37 0.2%

Quality and confidence:
param error
r 0.315

Model:
Time ~= 144.6
+ r 332.3
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_blake2_256_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 592.7
+ n 150
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 474.5 0.659 0.1%
20 3522 5.464 0.1%
40 6572 11.39 0.1%
60 9566 13.22 0.1%
80 12560 10.23 0.0%
100 15600 17.19 0.1%
120 18610 12.07 0.0%
140 21620 16.78 0.0%
160 24630 13.02 0.0%
180 27620 19.75 0.0%
200 30660 12.91 0.0%
220 33710 21.86 0.0%
240 36700 29.57 0.0%
260 39580 19.99 0.0%
280 42610 14.97 0.0%
300 45590 14.31 0.0%
320 48590 12.5 0.0%
340 51650 27.81 0.0%
360 54500 21.04 0.0%
380 57510 80.25 0.1%
400 60500 19.21 0.0%
420 63530 29.98 0.0%
440 66720 15.75 0.0%
460 69730 10.16 0.0%
480 72720 26.89 0.0%
500 75920 342.7 0.4%
520 78710 23.13 0.0%
540 81660 22.74 0.0%
560 84710 54.44 0.0%
580 87690 24.65 0.0%
600 90940 570.6 0.6%
620 93660 16.81 0.0%
640 96590 22.59 0.0%
660 99680 49.85 0.0%
680 102500 20.49 0.0%
700 105500 36.38 0.0%
720 108500 31.18 0.0%
740 111500 39.6 0.0%
760 114600 112 0.0%
780 117500 24.23 0.0%
800 120500 64.75 0.0%
820 123700 42.28 0.0%
840 126700 32.88 0.0%
860 129700 45.31 0.0%
880 132700 38.74 0.0%
900 135300 42.18 0.0%
920 138500 44.59 0.0%
940 141600 38.22 0.0%
960 144600 51.3 0.0%
980 147600 49.73 0.0%
1000 150600 157 0.1%
1020 153400 39.18 0.0%

Quality and confidence:
param error
n 0.021

Model:
Time ~= 612.9
+ n 150
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_blake2_128", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 142.3
+ r 329.4
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
r mean µs sigma µs %
0 130.9 0.14 0.1%
1 472.7 0.474 0.1%
2 803.1 1.827 0.2%
3 1129 3.079 0.2%
4 1459 4.48 0.3%
5 1789 4.477 0.2%
6 2124 6.369 0.2%
7 2455 4.66 0.1%
8 2773 5.665 0.2%
9 3109 8.287 0.2%
10 3432 8.337 0.2%
11 3772 17.82 0.4%
12 4104 12.06 0.2%
13 4412 13.53 0.3%
14 4746 16.64 0.3%
15 5084 15.99 0.3%
16 5421 14.42 0.2%
17 5745 21.65 0.3%
18 6073 16.71 0.2%
19 6390 16.48 0.2%
20 6729 21.96 0.3%

Quality and confidence:
param error
r 0.157

Model:
Time ~= 142
+ r 329.4
µs

Reads = 4 + (0 * r)
Writes = 0 + (0 * r)
Pallet: "pallet_contracts", Extrinsic: "seal_hash_blake2_128_per_kb", Lowest values: [], Highest values: [], Steps: [50], Repeat: 20
Median Slopes Analysis

-- Extrinsic Time --

Model:
Time ~= 615
+ n 150
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)
Min Squares Analysis

-- Extrinsic Time --

Data points distribution:
n mean µs sigma µs %
0 473.2 0.731 0.1%
20 3528 2.605 0.0%
40 6564 10.58 0.1%
60 9558 17.48 0.1%
80 12570 12.68 0.1%
100 15600 17.38 0.1%
120 18620 12.2 0.0%
140 21620 17.32 0.0%
160 24870 203.3 0.8%
180 27660 43.05 0.1%
200 30670 9.004 0.0%
220 33710 14.61 0.0%
240 36710 28.57 0.0%
260 39590 13.85 0.0%
280 42620 17.89 0.0%
300 45630 23.61 0.0%
320 48630 17.52 0.0%
340 51650 17.2 0.0%
360 54510 25.79 0.0%
380 57540 34.23 0.0%
400 60510 25.83 0.0%
420 63490 21.71 0.0%
440 66770 28.1 0.0%
460 69740 33.04 0.0%
480 72690 18.3 0.0%
500 75650 28.66 0.0%
520 78680 18.46 0.0%
540 81890 515.2 0.6%
560 84600 30.26 0.0%
580 87630 15.74 0.0%
600 90630 27.25 0.0%
620 93630 46.41 0.0%
640 96600 28.67 0.0%
660 99630 73.76 0.0%
680 102500 54.85 0.0%
700 105500 25.07 0.0%
720 108500 44.59 0.0%
740 111500 37.42 0.0%
760 114600 76.66 0.0%
780 117500 41.31 0.0%
800 120400 60.97 0.0%
820 123600 45.51 0.0%
840 126700 41.49 0.0%
860 129700 38.21 0.0%
880 132800 120.3 0.0%
900 135200 61.53 0.0%
920 138600 35.84 0.0%
940 141600 59.48 0.0%
960 144600 33.09 0.0%
980 147600 53.34 0.0%
1000 150400 53.97 0.0%
1020 153400 68.93 0.0%

Quality and confidence:
param error
n 0.02

Model:
Time ~= 632.5
+ n 149.9
µs

Reads = 4 + (0 * n)
Writes = 0 + (0 * n)

shawntabrizi and others added 2 commits October 6, 2020 20:11
…/node/cli/Cargo.toml -- benchmark --chain dev --steps 50 --repeat 20 --extrinsic * --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_contracts --heap-pages 4096
@athei athei added A0-please_review Pull request needs code review. A8-mergeoncegreen and removed A1-onice A0-please_review Pull request needs code review. labels Oct 7, 2020
frame/contracts/src/schedule.rs Outdated Show resolved Hide resolved
@pepyakin
Copy link
Contributor

pepyakin commented Oct 8, 2020

bot merge

@ghost
Copy link

ghost commented Oct 8, 2020

Trying merge.

@ghost ghost merged commit 0aa4ab4 into master Oct 8, 2020
@ghost ghost deleted the at-seal-api-benchmarks branch October 8, 2020 15:36
ordian added a commit that referenced this pull request Oct 9, 2020
…up-updates

* master:
  Async keystore + Authority-Discovery async/await (#7000)
  Fixes logging of target names with dashes (#7281)
  seal: Add automated weights for contract API calls (#7017)
  add ss58 id for nodle (#7279)
  Refactor CurrencyToVote (#6896)
  bump-allocator: document & poison (#7277)
  Reset flaming fir network (#7274)
  reschedule (#6860)
  Drop system cache for trie benchmarks (#7242)
  client: improve log formatting (#7272)
  Rework `InspectState` (#7271)
  SystemOrigin trait (#7226)
  Update ss58 registry for Dock network (#7263)
  .maintain/monitoring: Add alert when continuous task ends (#7250)
  Rename `TRANSACTION_VERSION` to `EXTRINSIC_VERSION` (#7258)
  Split block announce processing into two parts (#6958)
  Fix offchain election to respect the weight (#7215)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

seal: avoid hitting the trie when computing weight
6 participants