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

Add Nomination Pools to Kusama #5447

Merged
merged 25 commits into from
May 11, 2022
Merged

Add Nomination Pools to Kusama #5447

merged 25 commits into from
May 11, 2022

Conversation

kianenigma
Copy link
Contributor

@kianenigma kianenigma commented May 4, 2022

  • targeting release 0.9.21
  • Also sets the initial configs of the pools:
    • 1/600 KSM to join a pool
    • 1 KSM to create a pool.
    • Some temporary limits that we can totally propose to be removed:
      • 128 pools in total can be created.
      • 64k total pool members (aka delegators) among all pools.
      • 1024 members per pool

@kianenigma kianenigma added A0-please_review Pull request needs code review. B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels May 4, 2022
@kianenigma kianenigma added this to the v0.9.21 milestone May 4, 2022
@kianenigma
Copy link
Contributor Author

/benchmark runtime kusama pallet pallet_nomination_pools

@parity-benchapp
Copy link

parity-benchapp bot commented May 4, 2022

Benchmark Runtime Kusama Pallet for branch "kiz-nompools-ksm" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet pallet_nomination_pools --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Toolchain: stable-x86_64-unknown-linux-gnu (default)
rustc 1.57.0 (f1edd0429 2021-11-29)

Results
error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
   --> node/core/backing/src/lib.rs:190:6
    |
190 | ) -> Result<(), Error>
    |      ^^^^^^^^^^^^^^^^^
    |
note: hidden type `impl futures::Future` captures lifetime smaller than the function body
   --> node/core/backing/src/lib.rs:190:6
    |
190 | ) -> Result<(), Error>
    |      ^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0700`.
error: could not compile `polkadot-node-core-backing` due to previous error
error: build failed

ERROR: Unable to commit file ./runtime/kusama/src/weights/

@paritytech-ci paritytech-ci requested review from a team May 4, 2022 12:49
runtime/kusama/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Mara Robin B. <mara@broda.me>
runtime/kusama/src/lib.rs Outdated Show resolved Hide resolved
@kianenigma
Copy link
Contributor Author

SHOULD BE MERGED ONLY AFTER paritytech/substrate#11373 is included.

@kianenigma
Copy link
Contributor Author

/benchmark runtime kusama pallet pallet_nomination_pools

@parity-benchapp
Copy link

parity-benchapp bot commented May 9, 2022

Benchmark Runtime Kusama Pallet for branch "kiz-nompools-ksm" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet pallet_nomination_pools --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Toolchain: stable-x86_64-unknown-linux-gnu (default)
rustc 1.57.0 (f1edd0429 2021-11-29)

Results
error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
   --> node/core/backing/src/lib.rs:190:6
    |
190 | ) -> Result<(), Error>
    |      ^^^^^^^^^^^^^^^^^
    |
note: hidden type `impl futures::Future` captures lifetime smaller than the function body
   --> node/core/backing/src/lib.rs:190:6
    |
190 | ) -> Result<(), Error>
    |      ^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0700`.
error: could not compile `polkadot-node-core-backing` due to previous error
error: build failed

ERROR: Unable to commit file ./runtime/kusama/src/weights/

@kianenigma
Copy link
Contributor Author

@joao-paulo-parity the error in the benchmarks means the rust version in the bench machine is outdated. Can you fix?

@ggwpez
Copy link
Member

ggwpez commented May 10, 2022

/bench runtime kusama pallet pallet_nomination_pools

rust version should be updated now
PS: I think the command is wrong, should rather be bench runtime kusama pallet_nomination_pools.

@parity-benchapp
Copy link

parity-benchapp bot commented May 10, 2022

Benchmark Runtime Kusama Pallet for branch "kiz-nompools-ksm" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet pallet_nomination_pools

rust version should be updated now --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Toolchain: stable-x86_64-unknown-linux-gnu (default)
rustc 1.60.0 (7737e0b5c 2022-04-04)

Results
error: Found argument 'pallet_nomination_pools
' which wasn't expected, or isn't valid in this context

USAGE:
    polkadot benchmark pallet [OPTIONS]

For more information try --help
/bin/sh: 2: 
: not found
/bin/sh: 3: rust: not found

ERROR: Unable to commit file ./runtime/kusama/src/weights/

@ggwpez
Copy link
Member

ggwpez commented May 10, 2022

/bench runtime kusama pallet_nomination_pools

@parity-benchapp
Copy link

parity-benchapp bot commented May 10, 2022

Benchmark Runtime Kusama Pallet for branch "kiz-nompools-ksm" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Toolchain: stable-x86_64-unknown-linux-gnu (default)
rustc 1.60.0 (7737e0b5c 2022-04-04)

Results
Pallet: "pallet_nomination_pools", Extrinsic: "join", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools MinJoinBond (r:1 w:0)
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: Staking Ledger (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:0)
Storage: System Account (r:2 w:1)
Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
Storage: NominationPools MaxPoolMembers (r:1 w:0)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)
Storage: Staking Bonded (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:3 w:3)
Storage: BagsList ListBags (r:2 w:2)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    107.5
              µs

Reads = 17
Writes = 11

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    107.5
              µs

Reads = 17
Writes = 11

Pallet: "pallet_nomination_pools", Extrinsic: "bond_extra_transfer", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:2 w:2)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:3 w:3)
Storage: BagsList ListBags (r:2 w:2)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    98.13
              µs

Reads = 13
Writes = 12

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    98.13
              µs

Reads = 13
Writes = 12

Pallet: "pallet_nomination_pools", Extrinsic: "bond_extra_reward", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:3 w:3)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:2 w:2)
Storage: BagsList ListBags (r:2 w:2)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    109.2
              µs

Reads = 13
Writes = 12

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    109.2
              µs

Reads = 13
Writes = 12

Pallet: "pallet_nomination_pools", Extrinsic: "claim_payout", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    43.88
              µs

Reads = 4
Writes = 4

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    43.88
              µs

Reads = 4
Writes = 4

Pallet: "pallet_nomination_pools", Extrinsic: "unbond", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:2 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Nominators (r:1 w:0)
Storage: Staking MinNominatorBond (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:3 w:3)
Storage: Staking Bonded (r:1 w:0)
Storage: BagsList ListBags (r:2 w:2)
Storage: NominationPools SubPoolsStorage (r:1 w:1)
Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    104.9
              µs

Reads = 18
Writes = 13

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    104.9
              µs

Reads = 18
Writes = 13

Pallet: "pallet_nomination_pools", Extrinsic: "pool_withdraw_unbonded", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:0)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Balances Locks (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    34.92
    + s    0.026
              µs

Reads = 4 + (0 * s)
Writes = 2 + (0 * s)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     34.81     0.112    0.3%
    2     35.36     0.127    0.3%
    4     34.56     0.191    0.5%
    6     34.77      0.19    0.5%
    8      34.6     0.102    0.2%
   10     34.99     0.176    0.5%
   12     35.02     0.186    0.5%
   14     34.96     0.227    0.6%
   16     35.59     0.125    0.3%
   18     34.98     0.133    0.3%
   20     35.62     0.172    0.4%
   22     35.27     0.129    0.3%
   24     36.28     0.177    0.4%
   26      35.5     0.124    0.3%
   28     35.54     0.137    0.3%
   30     36.13     0.123    0.3%
   32     35.83     0.104    0.2%
   34     35.57      0.15    0.4%
   36     35.48     0.169    0.4%
   38     36.13     0.193    0.5%
   40     35.74     0.155    0.4%
   42     36.36     0.163    0.4%
   44      36.3      0.13    0.3%
   46     35.94     0.199    0.5%
   48      37.1     0.253    0.6%
   50     36.36     0.115    0.3%
   52     36.17     0.187    0.5%
   54     36.59     0.182    0.4%
   56     36.27     0.087    0.2%
   58     36.87     0.176    0.4%
   60      36.7     0.242    0.6%
   62     36.94     0.144    0.3%
   64     37.06      0.29    0.7%
   66     36.91     0.115    0.3%
   68     36.94     0.175    0.4%
   70     36.28     0.181    0.4%
   72     36.87     0.186    0.5%
   74     36.55     0.124    0.3%
   76     36.82     0.132    0.3%
   78     36.22     0.084    0.2%
   80      36.8     0.219    0.5%
   82     36.94     0.292    0.7%
   84      36.4     0.164    0.4%
   86     36.64      0.14    0.3%
   88     37.12     0.168    0.4%
   90     38.11     0.241    0.6%
   92     37.74     0.136    0.3%
   94     37.45     0.216    0.5%
   96     36.91     0.129    0.3%
   98     37.31     0.163    0.4%
  100      37.5      0.12    0.3%

Quality and confidence:
param     error
s             0

Model:
Time ~=     34.9
    + s    0.026
              µs

Reads = 4 + (0 * s)
Writes = 2 + (0 * s)

Pallet: "pallet_nomination_pools", Extrinsic: "withdraw_unbonded_update", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools SubPoolsStorage (r:1 w:1)
Storage: Staking Ledger (r:1 w:1)
Storage: Balances Locks (r:1 w:1)
Storage: System Account (r:1 w:1)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    70.68
    + s    0.035
              µs

Reads = 8 + (0 * s)
Writes = 7 + (0 * s)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     70.25     0.565    0.8%
    2     70.62     0.371    0.5%
    4     71.58     0.437    0.6%
    6     70.35     0.341    0.4%
    8     70.16      0.25    0.3%
   10     70.47     0.228    0.3%
   12     71.05      0.74    1.0%
   14     71.46     0.447    0.6%
   16     71.87     0.459    0.6%
   18      71.5       0.6    0.8%
   20     71.02     0.321    0.4%
   22     71.59     0.192    0.2%
   24     71.57     0.179    0.2%
   26     73.14     0.174    0.2%
   28     71.98     0.329    0.4%
   30     72.29     0.341    0.4%
   32     71.96     0.379    0.5%
   34     71.64     0.466    0.6%
   36     70.92     0.204    0.2%
   38     72.22     0.179    0.2%
   40     71.31      0.12    0.1%
   42     72.08     0.321    0.4%
   44     72.01     0.163    0.2%
   46     71.98     0.247    0.3%
   48     72.47     0.334    0.4%
   50     72.91     0.281    0.3%
   52     72.99     0.335    0.4%
   54     72.99     0.346    0.4%
   56     72.86      0.41    0.5%
   58     72.77     0.339    0.4%
   60     73.89     0.468    0.6%
   62     73.38     0.348    0.4%
   64     73.17       0.2    0.2%
   66     73.34     0.435    0.5%
   68     75.06     0.313    0.4%
   70     72.73     0.344    0.4%
   72     73.17     0.317    0.4%
   74     72.81      0.37    0.5%
   76     73.36     0.441    0.6%
   78     72.86     0.331    0.4%
   80     73.73     0.578    0.7%
   82     73.01     0.618    0.8%
   84     72.72     0.541    0.7%
   86     73.31     0.443    0.6%
   88     73.86     0.306    0.4%
   90      74.3     0.492    0.6%
   92     73.85     0.521    0.7%
   94     73.69     0.417    0.5%
   96     73.76     0.368    0.4%
   98     74.45      0.44    0.5%
  100     74.28     0.375    0.5%

Quality and confidence:
param     error
s         0.001

Model:
Time ~=    70.73
    + s    0.035
              µs

Reads = 8 + (0 * s)
Writes = 7 + (0 * s)

Pallet: "pallet_nomination_pools", Extrinsic: "withdraw_unbonded_kill", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools SubPoolsStorage (r:1 w:1)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:1)
Storage: Staking SlashingSpans (r:1 w:0)
Storage: Staking Validators (r:1 w:0)
Storage: Staking Nominators (r:1 w:0)
Storage: System Account (r:2 w:2)
Storage: Balances Locks (r:1 w:1)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)
Storage: NominationPools ReversePoolIdLookup (r:1 w:1)
Storage: NominationPools CounterForReversePoolIdLookup (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: NominationPools CounterForRewardPools (r:1 w:1)
Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
Storage: NominationPools CounterForBondedPools (r:1 w:1)
Storage: Staking Payee (r:0 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    124.5
    + s        0
              µs

Reads = 19 + (0 * s)
Writes = 16 + (0 * s)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     124.4     0.684    0.5%
    2       124     1.001    0.8%
    4     124.2      0.53    0.4%
    6     124.2      0.71    0.5%
    8     124.7     0.713    0.5%
   10     124.9     0.935    0.7%
   12       125     1.399    1.1%
   14     126.7     0.481    0.3%
   16     124.7     0.807    0.6%
   18     125.5     1.016    0.8%
   20     124.4     0.484    0.3%
   22       124     0.584    0.4%
   24     124.1     0.432    0.3%
   26     124.2     0.357    0.2%
   28     124.5      1.22    0.9%
   30     124.1     0.442    0.3%
   32     123.8     0.379    0.3%
   34     124.4     1.031    0.8%
   36     124.4     0.961    0.7%
   38     124.2     0.822    0.6%
   40     124.4     0.638    0.5%
   42     124.3      0.65    0.5%
   44     123.8      0.52    0.4%
   46     123.9     0.932    0.7%
   48     126.8     0.351    0.2%
   50     123.8     0.555    0.4%
   52     123.9     0.299    0.2%
   54       124     0.757    0.6%
   56     124.8     0.876    0.7%
   58       127     0.449    0.3%
   60     125.9     1.464    1.1%
   62     124.2     0.461    0.3%
   64     123.5     0.371    0.3%
   66     124.4     0.852    0.6%
   68     124.7     0.649    0.5%
   70       124     0.476    0.3%
   72     124.4     0.833    0.6%
   74     124.2     0.644    0.5%
   76     124.3     0.749    0.6%
   78       124     0.359    0.2%
   80     124.3     0.515    0.4%
   82     124.1     0.926    0.7%
   84     123.8     0.394    0.3%
   86     124.1     0.588    0.4%
   88     124.2     0.642    0.5%
   90     123.9     0.666    0.5%
   92     124.3     0.614    0.4%
   94       124     0.572    0.4%
   96     123.6     0.461    0.3%
   98     124.1     0.816    0.6%
  100     124.7     0.731    0.5%

Quality and confidence:
param     error
s         0.001

Model:
Time ~=    124.7
    + s        0
              µs

Reads = 19 + (0 * s)
Writes = 16 + (0 * s)

Pallet: "pallet_nomination_pools", Extrinsic: "create", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Staking MinNominatorBond (r:1 w:0)
Storage: NominationPools MinCreateBond (r:1 w:0)
Storage: NominationPools MinJoinBond (r:1 w:0)
Storage: NominationPools MaxPools (r:1 w:0)
Storage: NominationPools CounterForBondedPools (r:1 w:1)
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools LastPoolId (r:1 w:1)
Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
Storage: NominationPools MaxPoolMembers (r:1 w:0)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)
Storage: System Account (r:2 w:2)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Staking HistoryDepth (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: NominationPools CounterForRewardPools (r:1 w:1)
Storage: NominationPools ReversePoolIdLookup (r:1 w:1)
Storage: NominationPools CounterForReversePoolIdLookup (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: Staking Payee (r:0 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    115.4
              µs

Reads = 22
Writes = 15

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    115.4
              µs

Reads = 22
Writes = 15

Pallet: "pallet_nomination_pools", Extrinsic: "nominate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:0)
Storage: Staking Ledger (r:1 w:0)
Storage: Staking MinNominatorBond (r:1 w:0)
Storage: Staking Nominators (r:1 w:1)
Storage: Staking MaxNominatorsCount (r:1 w:0)
Storage: Staking Validators (r:2 w:0)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Staking Bonded (r:1 w:0)
Storage: BagsList ListNodes (r:1 w:1)
Storage: BagsList ListBags (r:1 w:1)
Storage: BagsList CounterForListNodes (r:1 w:1)
Storage: Staking CounterForNominators (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    41.79
    + n    2.004
              µs

Reads = 12 + (1 * n)
Writes = 5 + (0 * n)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    1     42.99     0.273    0.6%
    2     46.48     0.322    0.6%
    3     48.69     0.154    0.3%
    4     50.22      0.24    0.4%
    5      52.3     0.369    0.7%
    6      53.1     0.229    0.4%
    7     55.19     0.252    0.4%
    8     56.92     0.308    0.5%
    9     59.72     0.419    0.7%
   10     61.37     0.341    0.5%
   11     63.75     0.833    1.3%
   12     65.04     0.532    0.8%
   13     68.53     0.418    0.6%
   14     68.59     0.343    0.5%
   15     71.94      0.32    0.4%
   16     73.47     0.652    0.8%
   17     77.16     0.448    0.5%
   18     77.31     0.707    0.9%
   19     81.56     0.586    0.7%
   20     82.93     0.476    0.5%
   21     83.42      0.36    0.4%
   22     85.09     0.181    0.2%
   23     87.51     0.495    0.5%
   24     90.57     0.612    0.6%

Quality and confidence:
param     error
n         0.008

Model:
Time ~=    41.64
    + n    2.015
              µs

Reads = 12 + (1 * n)
Writes = 5 + (0 * n)

Pallet: "pallet_nomination_pools", Extrinsic: "set_state", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:1)
Storage: Staking Ledger (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     19.7
              µs

Reads = 2
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=     19.7
              µs

Reads = 2
Writes = 1

Pallet: "pallet_nomination_pools", Extrinsic: "set_metadata", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:0)
Storage: NominationPools Metadata (r:1 w:1)
Storage: NominationPools CounterForMetadata (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    8.863
    + n        0
              µs

Reads = 3 + (0 * n)
Writes = 2 + (0 * n)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    1     8.715     0.061    0.6%
    6     8.852     0.059    0.6%
   11     8.702     0.098    1.1%
   16      8.95       0.1    1.1%
   21     8.866     0.124    1.3%
   26     8.886     0.051    0.5%
   31     9.045     0.082    0.9%
   36      8.97     0.091    1.0%
   41     8.969     0.091    1.0%
   46     8.714     0.052    0.5%
   51     8.832     0.048    0.5%
   56     8.934     0.076    0.8%
   61     8.922     0.054    0.6%
   66     8.929     0.061    0.6%
   71     9.023     0.062    0.6%
   76     8.964     0.058    0.6%
   81     8.966     0.083    0.9%
   86     8.843     0.073    0.8%
   91     9.039     0.085    0.9%
   96     9.061     0.092    1.0%
  101     8.911     0.086    0.9%
  106     9.097      0.07    0.7%
  111     9.025     0.077    0.8%
  116     9.004     0.073    0.8%
  121     9.098      0.05    0.5%
  126     8.818     0.097    1.1%
  131     8.995      0.04    0.4%
  136     9.063     0.062    0.6%
  141     8.894      0.04    0.4%
  146     9.003     0.045    0.4%
  151     9.014     0.091    1.0%
  156     9.022     0.067    0.7%
  161     9.112     0.051    0.5%
  166     8.956      0.12    1.3%
  171     9.046     0.068    0.7%
  176     9.128      0.07    0.7%
  181     8.956     0.084    0.9%
  186     9.087     0.099    1.0%
  191     9.114     0.061    0.6%
  196     9.005     0.134    1.4%
  201     8.956     0.072    0.8%
  206     8.903     0.062    0.6%
  211     9.105     0.093    1.0%
  216     9.156     0.072    0.7%
  221     8.997     0.084    0.9%
  226     9.143     0.083    0.9%
  231     9.107     0.065    0.7%
  236     9.183     0.052    0.5%
  241     9.215     0.069    0.7%
  246     9.098     0.083    0.9%
  251     8.926     0.053    0.5%
  256     9.023     0.089    0.9%

Quality and confidence:
param     error
n             0

Model:
Time ~=    8.863
    + n    0.001
              µs

Reads = 3 + (0 * n)
Writes = 2 + (0 * n)

Pallet: "pallet_nomination_pools", Extrinsic: "set_configs", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools MinJoinBond (r:0 w:1)
Storage: NominationPools MaxPoolMembers (r:0 w:1)
Storage: NominationPools MaxPoolMembersPerPool (r:0 w:1)
Storage: NominationPools MinCreateBond (r:0 w:1)
Storage: NominationPools MaxPools (r:0 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    2.333
              µs

Reads = 0
Writes = 5

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    2.333
              µs

Reads = 0
Writes = 5

Pallet: "pallet_nomination_pools", Extrinsic: "update_roles", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    15.61
              µs

Reads = 1
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    15.61
              µs

Reads = 1
Writes = 1


@kianenigma
Copy link
Contributor Author

/bench runtime westend pallet_nomination_pools

@paritytech paritytech deleted a comment from parity-benchapp bot May 10, 2022
@paritytech paritytech deleted a comment from parity-benchapp bot May 10, 2022
@paritytech paritytech deleted a comment from parity-benchapp bot May 10, 2022
@paritytech paritytech deleted a comment from parity-benchapp bot May 10, 2022
@paritytech paritytech deleted a comment from parity-benchapp bot May 10, 2022
@paritytech paritytech deleted a comment from parity-benchapp bot May 10, 2022
…-- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
@parity-benchapp
Copy link

parity-benchapp bot commented May 10, 2022

Benchmark Runtime Westend Pallet for branch "kiz-nompools-ksm" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/

Toolchain: stable-x86_64-unknown-linux-gnu (default)
rustc 1.60.0 (7737e0b5c 2022-04-04)

Results
Pallet: "pallet_nomination_pools", Extrinsic: "join", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools MinJoinBond (r:1 w:0)
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: Staking Ledger (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:0)
Storage: System Account (r:2 w:1)
Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
Storage: NominationPools MaxPoolMembers (r:1 w:0)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)
Storage: Staking Bonded (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:3 w:3)
Storage: BagsList ListBags (r:2 w:2)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    106.9
              µs

Reads = 17
Writes = 11

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    106.9
              µs

Reads = 17
Writes = 11

Pallet: "pallet_nomination_pools", Extrinsic: "bond_extra_transfer", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:2 w:2)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:3 w:3)
Storage: BagsList ListBags (r:2 w:2)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    97.39
              µs

Reads = 13
Writes = 12

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    97.39
              µs

Reads = 13
Writes = 12

Pallet: "pallet_nomination_pools", Extrinsic: "bond_extra_reward", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:3 w:3)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:2 w:2)
Storage: BagsList ListBags (r:2 w:2)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    109.7
              µs

Reads = 13
Writes = 12

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    109.7
              µs

Reads = 13
Writes = 12

Pallet: "pallet_nomination_pools", Extrinsic: "claim_payout", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    45.22
              µs

Reads = 4
Writes = 4

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    45.22
              µs

Reads = 4
Writes = 4

Pallet: "pallet_nomination_pools", Extrinsic: "unbond", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: System Account (r:2 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Nominators (r:1 w:0)
Storage: Staking MinNominatorBond (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: BagsList ListNodes (r:3 w:3)
Storage: Staking Bonded (r:1 w:0)
Storage: BagsList ListBags (r:2 w:2)
Storage: NominationPools SubPoolsStorage (r:1 w:1)
Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    103.4
              µs

Reads = 18
Writes = 13

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    103.4
              µs

Reads = 18
Writes = 13

Pallet: "pallet_nomination_pools", Extrinsic: "pool_withdraw_unbonded", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:0)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Balances Locks (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    35.31
    + s    0.027
              µs

Reads = 4 + (0 * s)
Writes = 2 + (0 * s)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     34.46     0.142    0.4%
    2     34.53     0.134    0.3%
    4     35.29     0.368    1.0%
    6     35.49     0.175    0.4%
    8     35.18     0.171    0.4%
   10     35.26     0.106    0.3%
   12     35.06     0.147    0.4%
   14     35.53     0.337    0.9%
   16     35.21     0.167    0.4%
   18     35.85     0.148    0.4%
   20     35.79     0.218    0.6%
   22     36.11     0.209    0.5%
   24        36     0.072    0.1%
   26     36.33     0.079    0.2%
   28      36.2     0.112    0.3%
   30     36.76     0.253    0.6%
   32     36.32     0.136    0.3%
   34     35.93     0.113    0.3%
   36     36.49     0.155    0.4%
   38     37.29     0.198    0.5%
   40      36.6     0.103    0.2%
   42     36.42     0.183    0.5%
   44     36.98      0.28    0.7%
   46     37.22     0.158    0.4%
   48     36.66     0.223    0.6%
   50     37.26     0.103    0.2%
   52     36.86     0.159    0.4%
   54     36.86     0.176    0.4%
   56     37.41     0.141    0.3%
   58      37.2     0.121    0.3%
   60     37.03      0.12    0.3%
   62     36.95     0.266    0.7%
   64     36.88     0.208    0.5%
   66     37.18     0.091    0.2%
   68     37.11     0.142    0.3%
   70     37.54     0.164    0.4%
   72     37.04     0.137    0.3%
   74     37.22     0.171    0.4%
   76      37.3     0.103    0.2%
   78     37.78     0.201    0.5%
   80     36.97     0.076    0.2%
   82     37.31     0.127    0.3%
   84      38.3     0.241    0.6%
   86     37.69     0.163    0.4%
   88     37.73     0.171    0.4%
   90     37.46     0.098    0.2%
   92     37.58     0.106    0.2%
   94     37.03     0.091    0.2%
   96     37.16     0.103    0.2%
   98     37.43     0.156    0.4%
  100     37.71     0.209    0.5%

Quality and confidence:
param     error
s             0

Model:
Time ~=     35.3
    + s    0.027
              µs

Reads = 4 + (0 * s)
Writes = 2 + (0 * s)

Pallet: "pallet_nomination_pools", Extrinsic: "withdraw_unbonded_update", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools SubPoolsStorage (r:1 w:1)
Storage: Staking Ledger (r:1 w:1)
Storage: Balances Locks (r:1 w:1)
Storage: System Account (r:1 w:1)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    70.58
    + s     0.04
              µs

Reads = 8 + (0 * s)
Writes = 7 + (0 * s)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     69.55     0.183    0.2%
    2      69.7     0.099    0.1%
    4     70.63     0.291    0.4%
    6     70.72     0.249    0.3%
    8     70.51     0.608    0.8%
   10     70.66     0.476    0.6%
   12     70.62     0.312    0.4%
   14     71.97     0.113    0.1%
   16     70.88     0.121    0.1%
   18     71.21      0.21    0.2%
   20     70.62     0.188    0.2%
   22     72.89     0.309    0.4%
   24     72.67     0.233    0.3%
   26     73.44     0.223    0.3%
   28     74.74     1.338    1.7%
   30     71.57     0.299    0.4%
   32        72      0.52    0.7%
   34     71.82     0.141    0.1%
   36     72.26     0.218    0.3%
   38     71.43     0.263    0.3%
   40     72.19     0.116    0.1%
   42      72.2     0.229    0.3%
   44     72.44      0.21    0.2%
   46     73.34     0.339    0.4%
   48      73.8     0.681    0.9%
   50     73.25     0.256    0.3%
   52     72.72     0.227    0.3%
   54     74.42     0.348    0.4%
   56     72.84      0.15    0.2%
   58     72.92     0.412    0.5%
   60     73.13     0.401    0.5%
   62      72.7     0.307    0.4%
   64     73.16     0.354    0.4%
   66     73.28     0.274    0.3%
   68     73.49     0.424    0.5%
   70     74.05     0.325    0.4%
   72     73.16     0.263    0.3%
   74     73.38     0.406    0.5%
   76     73.41      0.28    0.3%
   78     74.37     0.442    0.5%
   80     73.31     0.243    0.3%
   82     73.58     0.401    0.5%
   84      73.6     0.195    0.2%
   86     73.96     0.347    0.4%
   88        74     0.491    0.6%
   90     74.31     0.312    0.4%
   92     74.18     0.401    0.5%
   94     74.49     0.601    0.8%
   96     74.87     0.809    1.0%
   98        74     0.298    0.4%
  100     74.39     0.578    0.7%

Quality and confidence:
param     error
s         0.001

Model:
Time ~=    70.77
    + s    0.039
              µs

Reads = 8 + (0 * s)
Writes = 7 + (0 * s)

Pallet: "pallet_nomination_pools", Extrinsic: "withdraw_unbonded_kill", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: NominationPools SubPoolsStorage (r:1 w:1)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:1)
Storage: Staking SlashingSpans (r:1 w:0)
Storage: Staking Validators (r:1 w:0)
Storage: Staking Nominators (r:1 w:0)
Storage: System Account (r:2 w:2)
Storage: Balances Locks (r:1 w:1)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)
Storage: NominationPools ReversePoolIdLookup (r:1 w:1)
Storage: NominationPools CounterForReversePoolIdLookup (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: NominationPools CounterForRewardPools (r:1 w:1)
Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1)
Storage: NominationPools CounterForBondedPools (r:1 w:1)
Storage: Staking Payee (r:0 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    123.3
    + s    0.008
              µs

Reads = 19 + (0 * s)
Writes = 16 + (0 * s)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     123.4     0.355    0.2%
    2     123.6     0.941    0.7%
    4     125.7     0.531    0.4%
    6     123.5      0.76    0.6%
    8     122.9     0.288    0.2%
   10     122.8     0.489    0.3%
   12     123.2     0.301    0.2%
   14     123.6     0.662    0.5%
   16     122.7     0.774    0.6%
   18     123.4     0.626    0.5%
   20     124.1     1.098    0.8%
   22     123.3     0.835    0.6%
   24     123.1     0.221    0.1%
   26     122.8     0.571    0.4%
   28     123.6     0.716    0.5%
   30     123.8     0.587    0.4%
   32     123.5     0.737    0.5%
   34     122.5     0.243    0.1%
   36     122.7     0.258    0.2%
   38     123.8      0.54    0.4%
   40     123.1     0.513    0.4%
   42     123.6     0.527    0.4%
   44     123.7      0.71    0.5%
   46     125.8     0.504    0.4%
   48     123.8     0.685    0.5%
   50     123.5     0.669    0.5%
   52     126.1     0.747    0.5%
   54     123.6     0.401    0.3%
   56     124.1     1.232    0.9%
   58     123.4     0.994    0.8%
   60     123.9     0.841    0.6%
   62     123.1     0.525    0.4%
   64     123.5      0.59    0.4%
   66     124.5      0.62    0.4%
   68     123.6     0.841    0.6%
   70     123.3     0.225    0.1%
   72       125     0.997    0.7%
   74     123.6     0.391    0.3%
   76       124     0.634    0.5%
   78     124.5     0.421    0.3%
   80     126.1     0.509    0.4%
   82     126.1     0.514    0.4%
   84     124.2     0.773    0.6%
   86       124     1.004    0.8%
   88     125.9     0.513    0.4%
   90     123.2     0.667    0.5%
   92     123.3     0.547    0.4%
   94     123.8      0.43    0.3%
   96     123.5     0.354    0.2%
   98     123.3     0.356    0.2%
  100     123.6     0.431    0.3%

Quality and confidence:
param     error
s         0.001

Model:
Time ~=    123.4
    + s    0.009
              µs

Reads = 19 + (0 * s)
Writes = 16 + (0 * s)

Pallet: "pallet_nomination_pools", Extrinsic: "create", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Staking MinNominatorBond (r:1 w:0)
Storage: NominationPools MinCreateBond (r:1 w:0)
Storage: NominationPools MinJoinBond (r:1 w:0)
Storage: NominationPools MaxPools (r:1 w:0)
Storage: NominationPools CounterForBondedPools (r:1 w:1)
Storage: NominationPools PoolMembers (r:1 w:1)
Storage: NominationPools LastPoolId (r:1 w:1)
Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0)
Storage: NominationPools MaxPoolMembers (r:1 w:0)
Storage: NominationPools CounterForPoolMembers (r:1 w:1)
Storage: System Account (r:2 w:2)
Storage: Staking Ledger (r:1 w:1)
Storage: Staking Bonded (r:1 w:1)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Staking HistoryDepth (r:1 w:0)
Storage: Balances Locks (r:1 w:1)
Storage: NominationPools RewardPools (r:1 w:1)
Storage: NominationPools CounterForRewardPools (r:1 w:1)
Storage: NominationPools ReversePoolIdLookup (r:1 w:1)
Storage: NominationPools CounterForReversePoolIdLookup (r:1 w:1)
Storage: NominationPools BondedPools (r:1 w:1)
Storage: Staking Payee (r:0 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    115.4
              µs

Reads = 22
Writes = 15

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    115.4
              µs

Reads = 22
Writes = 15

Pallet: "pallet_nomination_pools", Extrinsic: "nominate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:0)
Storage: Staking Ledger (r:1 w:0)
Storage: Staking MinNominatorBond (r:1 w:0)
Storage: Staking Nominators (r:1 w:1)
Storage: Staking MaxNominatorsCount (r:1 w:0)
Storage: Staking Validators (r:2 w:0)
Storage: Staking CurrentEra (r:1 w:0)
Storage: Staking Bonded (r:1 w:0)
Storage: BagsList ListNodes (r:1 w:1)
Storage: BagsList ListBags (r:1 w:1)
Storage: BagsList CounterForListNodes (r:1 w:1)
Storage: Staking CounterForNominators (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    41.39
    + n    2.021
              µs

Reads = 12 + (1 * n)
Writes = 5 + (0 * n)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    1     43.32     0.197    0.4%
    2     45.92     0.125    0.2%
    3     47.11     0.411    0.8%
    4        49     0.258    0.5%
    5     52.43      0.18    0.3%
    6     53.32     0.433    0.8%
    7     55.03     0.306    0.5%
    8     56.92     0.232    0.4%
    9     59.62     0.349    0.5%
   10     60.99     0.295    0.4%
   11     63.25     0.304    0.4%
   12     66.52     0.341    0.5%
   13     66.77     0.241    0.3%
   14     70.71      0.27    0.3%
   15     71.18     0.364    0.5%
   16     74.08      0.39    0.5%

Quality and confidence:
param     error
n         0.011

Model:
Time ~=    41.28
    + n    2.027
              µs

Reads = 12 + (1 * n)
Writes = 5 + (0 * n)

Pallet: "pallet_nomination_pools", Extrinsic: "set_state", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:1)
Storage: Staking Ledger (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    19.87
              µs

Reads = 2
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    19.87
              µs

Reads = 2
Writes = 1

Pallet: "pallet_nomination_pools", Extrinsic: "set_metadata", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:0)
Storage: NominationPools Metadata (r:1 w:1)
Storage: NominationPools CounterForMetadata (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     8.77
    + n    0.001
              µs

Reads = 3 + (0 * n)
Writes = 2 + (0 * n)

Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    1     8.735      0.05    0.5%
    6     8.588     0.071    0.8%
   11     8.866     0.077    0.8%
   16     8.805     0.064    0.7%
   21     8.858     0.079    0.8%
   26     8.876     0.094    1.0%
   31     8.915     0.068    0.7%
   36     8.877     0.091    1.0%
   41     8.625     0.023    0.2%
   46     8.755     0.094    1.0%
   51     8.637     0.038    0.4%
   56     8.773     0.095    1.0%
   61     8.883     0.086    0.9%
   66     8.949     0.113    1.2%
   71     8.711     0.071    0.8%
   76     8.816     0.096    1.0%
   81     8.922      0.11    1.2%
   86      8.76     0.098    1.1%
   91     8.996     0.079    0.8%
   96     8.928     0.057    0.6%
  101     8.931     0.084    0.9%
  106     8.946     0.065    0.7%
  111     8.937     0.039    0.4%
  116      8.94     0.124    1.3%
  121     9.003     0.068    0.7%
  126     8.909      0.06    0.6%
  131     8.947     0.053    0.5%
  136      8.99     0.098    1.0%
  141     9.065     0.073    0.8%
  146     8.949     0.053    0.5%
  151      8.99     0.052    0.5%
  156     9.005      0.06    0.6%
  161     9.019     0.088    0.9%
  166     8.888     0.078    0.8%
  171     8.976     0.083    0.9%
  176      8.95     0.068    0.7%
  181     9.004     0.068    0.7%
  186     9.022     0.061    0.6%
  191     8.794     0.065    0.7%
  196     8.978     0.069    0.7%
  201     8.989     0.061    0.6%
  206     8.933     0.044    0.4%
  211     9.002     0.059    0.6%
  216     8.956     0.045    0.5%
  221     9.003     0.068    0.7%
  226      9.07     0.072    0.7%
  231     9.099      0.09    0.9%
  236     9.085     0.071    0.7%
  241     9.028     0.079    0.8%
  246     9.081       0.1    1.1%
  251     8.978     0.043    0.4%
  256     9.096     0.057    0.6%

Quality and confidence:
param     error
n             0

Model:
Time ~=    8.769
    + n    0.001
              µs

Reads = 3 + (0 * n)
Writes = 2 + (0 * n)

Pallet: "pallet_nomination_pools", Extrinsic: "set_configs", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools MinJoinBond (r:0 w:1)
Storage: NominationPools MaxPoolMembers (r:0 w:1)
Storage: NominationPools MaxPoolMembersPerPool (r:0 w:1)
Storage: NominationPools MinCreateBond (r:0 w:1)
Storage: NominationPools MaxPools (r:0 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    2.238
              µs

Reads = 0
Writes = 5

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    2.238
              µs

Reads = 0
Writes = 5

Pallet: "pallet_nomination_pools", Extrinsic: "update_roles", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: NominationPools BondedPools (r:1 w:1)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    15.35
              µs

Reads = 1
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    15.35
              µs

Reads = 1
Writes = 1


ERROR: Unable to push ./runtime/westend/src/weights/

@kianenigma
Copy link
Contributor Author

/bench cancel

@kianenigma
Copy link
Contributor Author

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@kianenigma
Copy link
Contributor Author

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Merge cancelled due to error. Error: Head SHA changed from 0754fa2 to b3553d7

@parity-benchapp
Copy link

parity-benchapp bot commented May 11, 2022

Error running benchmark: kiz-nompools-ksm

stdoutNode benchmarks only available on Substrate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. E0-runtime_migration PR introduces code that might require downstream chains to run a runtime upgrade.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants