Frame System Benchmarking (#5834)

* Frame System Benchmarking

* Add to substrate node, avoid divide by zero errors in analysis

* reduce features

* some fixes

* copy pasta
This commit is contained in:
Shawn Tabrizi
2020-04-30 15:46:44 +02:00
committed by GitHub
parent 5b8d3607e9
commit b301451c85
10 changed files with 341 additions and 13 deletions
+1 -4
View File
@@ -470,7 +470,6 @@ decl_error! {
///
/// Either calling `Core_version` or decoding `RuntimeVersion` failed.
FailedToExtractRuntimeVersion,
/// Suicide called when the account has non-default composite data.
NonDefaultComposite,
/// There is a non-zero reference count preventing the account from being purged.
@@ -629,10 +628,8 @@ decl_module! {
/// data is equal to its default value.
///
/// # <weight>
/// - `O(K)` with `K` being complexity of `on_killed_account`
/// - `O(1)`
/// - 1 storage read and deletion.
/// - 1 call to `on_killed_account` callback with unknown complexity `K`
/// - 1 event.
/// # </weight>
#[weight = (25_000_000, DispatchClass::Operational)]
fn suicide(origin) {