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

contracts: Add storage deposits #10082

Merged
merged 45 commits into from Dec 7, 2021
Merged

Conversation

athei
Copy link
Member

@athei athei commented Oct 22, 2021

Fixes #9807

Please refer to the linked issue for information on this PR. I updated it recently to reflect the current state of things.

Porting Guide

Client Update Required

This adds new RPCs and alters existing ones with new arguments. A client update is necessary for RPC nodes.

Storage

This PR includes changes to storage. A storage migration was added in this PR that will be executed automatically.

UI

@jacogr @statictype

This PR adds the new parameter storage_deposit_limit to existing dispatchables and RPCs. The affected dispatchables are call, instantiate, instantiate_with_code. Affected RPCs are call and instantiate.

This PR adds two new dispatchables upload_code and remove_code and the new RPC upload_code. The latter can be used to determine the storage_deposit_limit required to upload some code. Those new functions should be supported eventually but do not break the UI if not added.

Renamed endowment to value

This PR makes 0 a valid value for the endowment when instantiating the contract. It is no longer needed to keep the contract alive. Those costs will be deducted automatically and be limited by the storage_deposit_limit which can be automatically estimated through RPC. This is why we renamed endowment to value in order to make instantiate consistent with call.

@athei athei added A3-in_progress Pull request is in progress. No review needed at this stage. B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Oct 22, 2021
@athei athei added this to In Progress in Smart Contracts via automation Oct 22, 2021
@athei
Copy link
Member Author

athei commented Oct 22, 2021

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Oct 22, 2021

Benchmark Runtime Pallet for branch "at-storage-deposit" with command cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

Results
Pallet: "pallet_contracts", Extrinsic: "on_initialize", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts DeletionQueue (r:1 w:0)

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

Model:
Time ~=    3.015
              µs

Reads = 1
Writes = 0

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

Model:
Time ~=    3.015
              µs

Reads = 1
Writes = 0

Pallet: "pallet_contracts", Extrinsic: "on_initialize_per_trie_key", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=        0
    + k    2.191
              µs

Reads = 1 + (0 * k)
Writes = 1 + (1 * k)

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

Data points distribution:
    k   mean µs  sigma µs       %
    0     69.36      0.57    0.8%
   20     58.69     0.333    0.5%
   40     95.28     0.396    0.4%
   60     129.2      0.52    0.4%
   80     163.8     2.459    1.5%
  100     204.4      2.63    1.2%
  120       242     1.749    0.7%
  140     280.5     1.323    0.4%
  160     321.6     3.557    1.1%
  180     363.2     2.527    0.6%
  200     408.6     2.663    0.6%
  220     452.9     2.916    0.6%
  240     495.6      2.48    0.5%
  260     528.6     4.902    0.9%
  280     576.3     4.542    0.7%
  300     648.1     8.399    1.2%
  320     665.6     7.539    1.1%
  340     717.9     2.574    0.3%
  360       766      10.2    1.3%
  380     817.5     11.37    1.3%
  400     863.7     11.96    1.3%
  420       894     3.974    0.4%
  440     947.5     9.468    0.9%
  460     994.9      13.9    1.3%
  480      1028     4.043    0.3%
  500      1074     6.079    0.5%
  520      1098     4.296    0.3%
  540      1178     17.09    1.4%
  560      1218     15.45    1.2%
  580      1255     14.03    1.1%
  600      1386     62.03    4.4%
  620      1340     10.87    0.8%
  640      1395     10.35    0.7%
  660      1452     22.26    1.5%
  680      1476     19.77    1.3%
  700      1509     19.85    1.3%
  720      1571     14.05    0.8%
  740      1607     12.63    0.7%
  760      1648     14.26    0.8%
  780      1691     14.29    0.8%
  800      1746     11.29    0.6%
  820      1800     13.74    0.7%
  840      1827     19.71    1.0%
  860      1886     13.27    0.7%
  880      1933     19.18    0.9%
  900      1956     11.08    0.5%
  920      2016     10.92    0.5%
  940      2042     18.53    0.9%
  960      2100     28.59    1.3%
  980      2159     19.29    0.8%
 1000      2193     23.53    1.0%
 1020      2212     13.83    0.6%

Quality and confidence:
param     error
k         0.003

Model:
Time ~=        0
    + k    2.198
              µs

Reads = 1 + (0 * k)
Writes = 1 + (1 * k)

Pallet: "pallet_contracts", Extrinsic: "on_initialize_per_queue_item", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts DeletionQueue (r:1 w:0)

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

Model:
Time ~=    101.2
    + q    0.322
              µs

Reads = 1 + (0 * q)
Writes = 1 + (0 * q)

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

Data points distribution:
    q   mean µs  sigma µs       %
    0     3.083     0.009    0.2%
   20     84.43     1.033    1.2%
   40     97.22     0.762    0.7%
   60     108.2     0.722    0.6%
   80     119.2     0.985    0.8%
  100     128.7     0.934    0.7%
  120     139.1     1.036    0.7%
  140     146.6     0.812    0.5%
  160     158.6     2.798    1.7%
  180     170.1     2.709    1.5%
  200     179.4     2.658    1.4%
  220     187.2     2.196    1.1%
  240       196     1.769    0.9%
  260     201.7     2.014    0.9%
  280     212.9     1.574    0.7%
  300     212.8     1.906    0.8%
  320     221.9     1.819    0.8%
  340     232.1     2.231    0.9%
  360     212.4     1.455    0.6%
  380     222.9     2.741    1.2%
  400     229.2     1.643    0.7%
  420     238.2     7.622    3.1%
  440     240.3      1.56    0.6%
  460       246     0.889    0.3%
  480     251.8      1.98    0.7%
  500       261     1.606    0.6%
  520     264.3     1.911    0.7%
  540     272.9     0.838    0.3%
  560     284.5      5.03    1.7%
  580     288.1     1.826    0.6%
  600     295.6      1.45    0.4%
  620     302.5     1.804    0.5%
  640     309.7     1.712    0.5%
  660     313.7     1.068    0.3%
  680     321.8     0.795    0.2%
  700     327.5     1.046    0.3%
  720     336.4     1.592    0.4%
  740     340.9     1.157    0.3%
  760     348.8     1.099    0.3%
  780     356.1     1.695    0.4%
  800     360.5      1.81    0.5%
  820     366.2     0.926    0.2%
  840       373     1.161    0.3%
  860     377.3     1.192    0.3%
  880     381.4     1.105    0.2%
  900     388.1     1.167    0.3%
  920     393.7     1.299    0.3%
  940       402     1.422    0.3%
  960     404.4     1.585    0.3%
  980       412     1.214    0.2%
 1000     419.7     2.273    0.5%
 1020     422.1     1.112    0.2%

Quality and confidence:
param     error
q         0.002

Model:
Time ~=    96.94
    + q    0.329
              µs

Reads = 1 + (0 * q)
Writes = 1 + (0 * q)

Pallet: "pallet_contracts", Extrinsic: "instrument", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts PristineCode (r:1 w:0)
Storage: Contracts CodeStorage (r:0 w:1)

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

Model:
Time ~=    51.02
    + c    70.37
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     54.69     0.085    0.1%
    2     198.3     0.319    0.1%
    4     335.5     0.219    0.0%
    6     459.3     0.245    0.0%
    8     609.9     7.755    1.2%
   10       746     13.56    1.8%
   12     872.9     12.72    1.4%
   14      1053     14.56    1.3%
   16      1160     9.494    0.8%
   18      1306     1.289    0.0%
   20      1442      15.6    1.0%
   22      1563      16.7    1.0%
   24      1684     12.75    0.7%
   26      1914     13.07    0.6%
   28      2031     13.07    0.6%
   30      2172     14.07    0.6%
   32      2287     18.09    0.7%
   34      2479     15.41    0.6%
   36      2587     13.36    0.5%
   38      2723     12.22    0.4%
   40      2832      10.5    0.3%
   42      2961      13.5    0.4%
   44      3090     11.62    0.3%
   46      3218     9.679    0.3%
   48      3327     16.64    0.5%
   50      3660     10.59    0.2%
   52      3778     10.03    0.2%
   54      3895     12.15    0.3%
   56      4018     10.89    0.2%
   58      4132     17.31    0.4%
   60      4275      15.6    0.3%
   62      4389     15.12    0.3%
   64      4511     12.83    0.2%
   66      4733     13.51    0.2%
   68      4857     13.43    0.2%
   70      4982     16.06    0.3%
   72      5100     12.19    0.2%
   74      5223     13.04    0.2%
   76      5347     10.44    0.1%
   78      5475     16.03    0.2%
   80      5617     20.14    0.3%
   82      5735     15.08    0.2%
   84      5841     14.66    0.2%
   86      5969     18.28    0.3%
   88      6092      11.4    0.1%
   90      6222     19.13    0.3%
   92      6341     16.65    0.2%
   94      6460     23.77    0.3%
   96      6571     16.39    0.2%
   98      7193     40.47    0.5%
  100      7259     24.28    0.3%
  102      7401     29.92    0.4%
  104      7516     21.22    0.2%
  106      7663     20.01    0.2%
  108      7748     15.32    0.1%
  110      7871     19.61    0.2%
  112      8003     19.79    0.2%
  114      8143     16.19    0.1%
  116      8256     30.55    0.3%
  118      8375     16.48    0.1%
  120      8516     17.78    0.2%
  122      8630     19.77    0.2%
  124      8752     27.11    0.3%
  126      8882     14.92    0.1%
  128      9006     14.38    0.1%

Quality and confidence:
param     error
c         0.091

Model:
Time ~=    32.25
    + c    70.54
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)

Pallet: "pallet_contracts", Extrinsic: "code_load", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:0)

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

Model:
Time ~=     8.21
    + c    1.452
              µs

Reads = 1 + (0 * c)
Writes = 0 + (0 * c)

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     7.386     0.064    0.8%
    2     11.12      0.07    0.6%
    4     14.19     0.113    0.7%
    6      16.9     0.076    0.4%
    8     19.84     0.099    0.4%
   10     22.34     0.061    0.2%
   12     25.58      0.09    0.3%
   14      28.7     0.056    0.1%
   16     31.36     0.273    0.8%
   18     35.34     0.155    0.4%
   20     37.94     0.078    0.2%
   22     41.16     0.103    0.2%
   24     43.71     0.105    0.2%
   26     46.65     0.064    0.1%
   28     49.13     0.402    0.8%
   30     51.82     0.098    0.1%
   32     54.63     0.087    0.1%
   34     57.86      0.12    0.2%
   36     60.99     0.099    0.1%
   38     63.58     0.227    0.3%
   40     66.29     0.121    0.1%
   42     69.28     0.157    0.2%
   44     71.72     0.052    0.0%
   46     74.69     0.183    0.2%
   48     77.79     0.169    0.2%
   50     80.75     0.192    0.2%
   52     83.42     0.125    0.1%
   54     86.87     0.485    0.5%
   56     89.21      0.17    0.1%
   58     91.96     0.158    0.1%
   60     94.78     0.211    0.2%
   62     97.73      0.11    0.1%
   64     100.4     0.235    0.2%
   66     103.4     0.148    0.1%
   68     106.3     0.162    0.1%
   70     109.4     0.393    0.3%
   72     112.5     0.136    0.1%
   74     115.6     0.157    0.1%
   76     118.3     0.224    0.1%
   78     121.4     0.182    0.1%
   80     124.3     0.051    0.0%
   82     127.1     0.129    0.1%
   84     130.1     0.127    0.0%
   86     138.6      8.15    5.8%
   88     135.8     0.103    0.0%
   90     138.8     0.221    0.1%
   92     141.5     0.119    0.0%
   94     144.7     0.102    0.0%
   96       148     0.133    0.0%
   98     150.2     0.134    0.0%
  100     153.4     0.146    0.0%
  102     156.2     0.114    0.0%
  104     159.3     0.237    0.1%
  106     161.9     0.138    0.0%
  108     164.8      0.18    0.1%
  110     167.7     0.117    0.0%
  112     170.6     0.127    0.0%
  114       174     0.089    0.0%
  116     176.6      0.09    0.0%
  118     179.5     0.133    0.0%
  120     182.3      0.18    0.0%
  122     185.4     0.075    0.0%
  124     189.1     0.639    0.3%
  126     191.4     0.193    0.1%
  128     194.4      0.14    0.0%

Quality and confidence:
param     error
c         0.001

Model:
Time ~=    8.252
    + c    1.453
              µs

Reads = 1 + (0 * c)
Writes = 0 + (0 * c)

Pallet: "pallet_contracts", Extrinsic: "instantiate_with_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:1)
Storage: Contracts AccountCounter (r:1 w:0)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Timestamp Now (r:1 w:0)
Storage: System Account (r:1 w:1)
Storage: Contracts PristineCode (r:0 w:1)
Storage: Contracts OwnerInfoOf (r:0 w:1)

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

Model:
Time ~=    633.3
    + c    179.2
    + s    1.998
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 5 + (0 * c) + (0 * s)

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

Data points distribution:
    c     s   mean µs  sigma µs       %
    0  1024      2658     12.87    0.4%
    1  1024      2858     9.858    0.3%
    2  1024      3038     10.71    0.3%
    3  1024      3200     12.05    0.3%
    4  1024      3390     18.95    0.5%
    5  1024      3553     12.42    0.3%
    6  1024      3724     10.38    0.2%
    7  1024      3919     11.16    0.2%
    8  1024      4067     13.47    0.3%
    9  1024      4299     15.12    0.3%
   10  1024      4449     19.25    0.4%
   11  1024      4607     12.11    0.2%
   12  1024      4762      12.9    0.2%
   13  1024      4999      17.5    0.3%
   14  1024      5162     14.77    0.2%
   15  1024      5331     20.64    0.3%
   16  1024      5467     8.469    0.1%
   17  1024      5797     25.03    0.4%
   18  1024      5963     42.33    0.7%
   19  1024      6103     12.26    0.2%
   20  1024      6271     19.75    0.3%
   21  1024      6448     18.25    0.2%
   22  1024      6610      14.2    0.2%
   23  1024      6759     13.29    0.1%
   24  1024      6895     7.008    0.1%
   25  1024      7280     14.01    0.1%
   26  1024      7421     15.35    0.2%
   27  1024      7560     21.32    0.2%
   28  1024      7708      12.8    0.1%
   29  1024      7864     17.23    0.2%
   30  1024      8030     17.66    0.2%
   31  1024      8188     26.67    0.3%
   32  1024      8346     17.25    0.2%
   33  1024      8735     15.35    0.1%
   34  1024      8905     27.05    0.3%
   35  1024      9207     19.47    0.2%
   36  1024      9217     16.74    0.1%
   37  1024      9366     17.99    0.1%
   38  1024      9552     11.04    0.1%
   39  1024      9697     21.11    0.2%
   40  1024      9940     49.63    0.4%
   41  1024     10020     23.44    0.2%
   42  1024     10170     27.57    0.2%
   43  1024     10330     35.32    0.3%
   44  1024     10460     27.03    0.2%
   45  1024     10700     43.72    0.4%
   46  1024     10780     20.18    0.1%
   47  1024     11000     33.89    0.3%
   48  1024     11520      25.8    0.2%
   49  1024     11600     24.76    0.2%
   50  1024     11800     36.01    0.3%
   51  1024     11930     30.99    0.2%
   52  1024     12060     19.24    0.1%
   53  1024     12270      24.6    0.2%
   54  1024     12380     26.57    0.2%
   55  1024     12570     29.67    0.2%
   56  1024     12710     17.72    0.1%
   57  1024     12850     27.35    0.2%
   58  1024     13040     50.19    0.3%
   59  1024     13190     53.72    0.4%
   60  1024     13310     31.06    0.2%
   61  1024     13490     43.11    0.3%
   62  1024     13700     40.65    0.2%
   63  1024     13820     32.43    0.2%
   64     0     11850     38.17    0.3%
   64    20     11980     16.56    0.1%
   64    40     12130     43.98    0.3%
   64    60     11980     44.69    0.3%
   64    80     12020     22.14    0.1%
   64   100     12070     24.75    0.2%
   64   120     12110     33.43    0.2%
   64   140     12180     53.85    0.4%
   64   160     12370     19.88    0.1%
   64   180     12230     31.39    0.2%
   64   200     12270     24.67    0.2%
   64   220     12300     20.02    0.1%
   64   240     12340     44.55    0.3%
   64   260     12380     44.35    0.3%
   64   280     12430     29.37    0.2%
   64   300     12460     33.81    0.2%
   64   320     12490     22.78    0.1%
   64   340     12550     27.79    0.2%
   64   360     12630     19.55    0.1%
   64   380     12620     28.79    0.2%
   64   400     12710     25.36    0.1%
   64   420     12720     28.06    0.2%
   64   440     12760     39.68    0.3%
   64   460     12770      46.6    0.3%
   64   480     12830     25.11    0.1%
   64   500     12850     37.05    0.2%
   64   520     12940     55.23    0.4%
   64   540     12930     28.83    0.2%
   64   560     13310     85.13    0.6%
   64   580     13020      41.3    0.3%
   64   600     13070     27.96    0.2%
   64   620     13110     29.51    0.2%
   64   640     13320     37.76    0.2%
   64   660     13190        28    0.2%
   64   680     13200     28.22    0.2%
   64   700     13310     41.44    0.3%
   64   720     13310     41.11    0.3%
   64   740     13370     46.41    0.3%
   64   760     13380     18.94    0.1%
   64   780     13420        40    0.2%
   64   800     14020     27.32    0.1%
   64   820     13520     23.57    0.1%
   64   840     13550        52    0.3%
   64   860     13600        52    0.3%
   64   880     13600     24.72    0.1%
   64   900     13720     24.92    0.1%
   64   920     13700     43.05    0.3%
   64   940     13730     33.44    0.2%
   64   960     13840     48.25    0.3%
   64   980     13850     29.21    0.2%
   64  1000     13870     20.28    0.1%
   64  1020     13920     28.39    0.2%
   64  1024     13960     21.34    0.1%

Quality and confidence:
param     error
c         0.181
s         0.011

Model:
Time ~=      508
    + c    177.1
    + s    2.167
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 5 + (0 * c) + (0 * s)

Pallet: "pallet_contracts", Extrinsic: "instantiate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:1)
Storage: Contracts AccountCounter (r:1 w:0)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Timestamp Now (r:1 w:0)
Storage: System Account (r:1 w:1)
Storage: Contracts OwnerInfoOf (r:1 w:1)

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

Model:
Time ~=    262.8
    + s    1.978
              µs

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

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

Data points distribution:
    s   mean µs  sigma µs       %
    0     245.9     0.444    0.1%
   20     306.2     8.937    2.9%
   40     339.6     0.622    0.1%
   60     379.9     0.642    0.1%
   80     420.1     0.319    0.0%
  100     462.9     7.764    1.6%
  120     506.6      6.46    1.2%
  140     545.3     14.27    2.6%
  160       584     11.24    1.9%
  180     617.6      0.53    0.0%
  200     663.1     8.593    1.2%
  220     698.4     2.388    0.3%
  240     736.5     1.138    0.1%
  260     784.6      9.82    1.2%
  280     819.7     10.94    1.3%
  300     864.8     12.91    1.4%
  320     900.5      9.58    1.0%
  340     950.3     15.06    1.5%
  360     988.2     16.29    1.6%
  380      1018     8.315    0.8%
  400      1069     14.45    1.3%
  420      1103     13.21    1.1%
  440      1147     14.86    1.2%
  460      1186     16.02    1.3%
  480      1215     8.916    0.7%
  500      1271      15.4    1.2%
  520      1285     12.22    0.9%
  540      1334     15.31    1.1%
  560      1372      14.2    1.0%
  580      1409        12    0.8%
  600      1451     14.99    1.0%
  620      1495     17.08    1.1%
  640      1521      11.4    0.7%
  660      1576     16.09    1.0%
  680      1611     13.11    0.8%
  700      1648     14.93    0.9%
  720      1695      14.3    0.8%
  740      1724      11.8    0.6%
  760      1771     15.68    0.8%
  780      1808     13.91    0.7%
  800      1872     8.362    0.4%
  820      1896      15.2    0.8%
  840      1937     12.68    0.6%
  860      1974     15.88    0.8%
  880      1994     7.864    0.3%
  900      2059      12.6    0.6%
  920      2089     17.64    0.8%
  940      2125     13.37    0.6%
  960      2168      15.8    0.7%
  980      2215     15.96    0.7%
 1000      2246     14.28    0.6%
 1020      2295     15.52    0.6%

Quality and confidence:
param     error
s         0.002

Model:
Time ~=    264.2
    + s    1.986
              µs

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

Pallet: "pallet_contracts", Extrinsic: "call", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: System Account (r:1 w:1)

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

Model:
Time ~=    209.1
              µs

Reads = 4
Writes = 2

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

Model:
Time ~=    209.1
              µs

Reads = 4
Writes = 2

Pallet: "pallet_contracts", Extrinsic: "upload_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:1)
Storage: Contracts PristineCode (r:0 w:1)
Storage: Contracts OwnerInfoOf (r:0 w:1)

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

Model:
Time ~=    94.68
    + c     70.8
              µs

Reads = 1 + (0 * c)
Writes = 3 + (0 * c)

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     92.29     0.186    0.2%
    1     169.6     0.393    0.2%
    2     244.9     3.449    1.4%
    3     306.6     9.101    2.9%
    4     377.3     0.267    0.0%
    5     442.4     0.181    0.0%
    6       514     13.97    2.7%
    7     595.9     9.391    1.5%
    8     666.8      15.1    2.2%
    9     718.5     0.289    0.0%
   10     789.6     14.07    1.7%
   11     857.3     16.44    1.9%
   12     910.7     14.02    1.5%
   13      1038     17.86    1.7%
   14      1090     15.13    1.3%
   15      1166     19.34    1.6%
   16      1215     15.24    1.2%
   17      1304     12.49    0.9%
   18      1367     15.74    1.1%
   19      1438     16.25    1.1%
   20      1498     14.01    0.9%
   21      1560     18.01    1.1%
   22      1630     14.39    0.8%
   23      1681     12.47    0.7%
   24      1731     13.18    0.7%
   25      1903     15.17    0.7%
   26      1981     21.27    1.0%
   27      2034     16.16    0.7%
   28      2100     16.72    0.7%
   29      2162     12.38    0.5%
   30      2212     13.28    0.6%
   31      2282     11.94    0.5%
   32      2344     15.53    0.6%
   33      2451     8.396    0.3%
   34      2528      12.5    0.4%
   35      2580     19.77    0.7%
   36      2633     2.973    0.1%
   37      2691     15.55    0.5%
   38      2761     9.946    0.3%
   39      2816     15.64    0.5%
   40      2876     17.61    0.6%
   41      2947     8.652    0.2%
   42      2986     12.07    0.4%
   43      3064     11.74    0.3%
   44      3124     11.17    0.3%
   45      3195     15.03    0.4%
   46      3255     10.69    0.3%
   47      3318     18.12    0.5%
   48      3369      12.8    0.3%
   49      3666     11.81    0.3%
   50      3724     11.64    0.3%
   51      3791     11.72    0.3%
   52      3860     12.25    0.3%
   53      3913     8.404    0.2%
   54      3976     11.84    0.2%
   55      4036     14.26    0.3%
   56      4090     10.49    0.2%
   57      4154     6.587    0.1%
   58      4217     11.33    0.2%
   59      4277     9.836    0.2%
   60      4349     10.76    0.2%
   61      4511     19.22    0.4%
   62      4481     18.47    0.4%
   63      4519     10.44    0.2%
   64      4606     21.44    0.4%

Quality and confidence:
param     error
c         0.101

Model:
Time ~=    84.38
    + c    71.02
              µs

Reads = 1 + (0 * c)
Writes = 3 + (0 * c)

Pallet: "pallet_contracts", Extrinsic: "remove_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts OwnerInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:0 w:1)
Storage: Contracts PristineCode (r:0 w:1)

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

Model:
Time ~=    41.23
              µs

Reads = 1
Writes = 3

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

Model:
Time ~=    41.23
              µs

Reads = 1
Writes = 3

Pallet: "pallet_contracts", Extrinsic: "seal_caller", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    472.5
    + r    115.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       464     4.451    0.9%
    1     596.2      16.3    2.7%
    2     698.7     3.023    0.4%
    3     812.5     5.501    0.6%
    4     942.7     12.85    1.3%
    5      1074     14.73    1.3%
    6      1167     12.72    1.0%
    7      1278     12.95    1.0%
    8      1387     10.38    0.7%
    9      1510     11.61    0.7%
   10      1612     12.96    0.8%
   11      1739     13.72    0.7%
   12      1847     12.86    0.6%
   13      1952     11.74    0.6%
   14      2103     13.43    0.6%
   15      2213     12.95    0.5%
   16      2321     12.48    0.5%
   17      2458      5.37    0.2%
   18      2565     10.18    0.3%
   19      2675     15.93    0.5%
   20      2776     16.46    0.5%

Quality and confidence:
param     error
r         0.191

Model:
Time ~=    470.4
    + r    115.8
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_address", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=      473
    + r    115.8
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     463.6      1.76    0.3%
    1     582.1     0.368    0.0%
    2     700.1      2.69    0.3%
    3     816.8     8.591    1.0%
    4     944.8     8.009    0.8%
    5      1067     13.17    1.2%
    6      1178     16.09    1.3%
    7      1293     14.56    1.1%
    8      1404     13.95    0.9%
    9      1516     15.58    1.0%
   10      1621     7.851    0.4%
   11      1740     12.21    0.7%
   12      1860     16.35    0.8%
   13      1962     11.99    0.6%
   14      2126     10.02    0.4%
   15      2218     12.83    0.5%
   16      2348     8.197    0.3%
   17      2436     11.43    0.4%
   18      2578     12.02    0.4%
   19      2669     12.25    0.4%
   20      2788     13.69    0.4%

Quality and confidence:
param     error
r         0.188

Model:
Time ~=    471.9
    + r    116.2
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_gas_left", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    467.7
    + r    115.4
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     462.3     0.242    0.0%
    1     583.3     4.633    0.7%
    2     697.3     3.181    0.4%
    3     808.7     2.329    0.2%
    4     941.6      10.6    1.1%
    5      1044      1.39    0.1%
    6      1175     12.81    1.0%
    7      1271     11.39    0.8%
    8      1380     8.575    0.6%
    9      1492       9.6    0.6%
   10      1611     12.19    0.7%
   11      1746     11.26    0.6%
   12      1847     10.41    0.5%
   13      1958      12.9    0.6%
   14      2104     15.76    0.7%
   15      2223     13.74    0.6%
   16      2325     13.73    0.5%
   17      2426     9.831    0.4%
   18      2542     10.52    0.4%
   19      2677      11.8    0.4%
   20      2788     17.58    0.6%

Quality and confidence:
param     error
r          0.17

Model:
Time ~=    463.9
    + r      116
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    469.8
    + r    333.2
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     464.7     1.723    0.3%
    1     809.3     11.24    1.3%
    2      1132     2.749    0.2%
    3      1484     13.67    0.9%
    4      1812     15.76    0.8%
    5      2143     14.11    0.6%
    6      2471     12.64    0.5%
    7      2800     17.62    0.6%
    8      3137     8.046    0.2%
    9      3462     8.569    0.2%
   10      3785     7.014    0.1%
   11      4111     6.748    0.1%
   12      4441     9.898    0.2%
   13      4776      11.1    0.2%
   14      5162     12.43    0.2%
   15      5494     14.78    0.2%
   16      5814     26.07    0.4%
   17      6149     14.46    0.2%
   18      6470     12.42    0.1%
   19      6831     25.65    0.3%
   20      7149     22.52    0.3%

Quality and confidence:
param     error
r         0.242

Model:
Time ~=    465.7
    + r    333.9
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_value_transferred", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    462.8
    + r    116.2
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     449.8     0.267    0.0%
    1     574.1     11.34    1.9%
    2     685.4     1.193    0.1%
    3       798     3.172    0.3%
    4     935.9     12.41    1.3%
    5      1040     0.886    0.0%
    6      1169     14.14    1.2%
    7      1285     12.54    0.9%
    8      1410     14.72    1.0%
    9      1527     15.23    0.9%
   10      1633     18.33    1.1%
   11      1775     8.018    0.4%
   12      1857     14.09    0.7%
   13      1960     10.97    0.5%
   14      2106     12.32    0.5%
   15      2212     13.17    0.5%
   16      2322     15.73    0.6%
   17      2451     13.04    0.5%
   18      2550      11.5    0.4%
   19      2667     10.04    0.3%
   20      2774     15.76    0.5%

Quality and confidence:
param     error
r         0.198

Model:
Time ~=    463.4
    + r    116.4
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_minimum_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    461.6
    + r    116.7
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.3     0.312    0.0%
    1     577.9     13.49    2.3%
    2     686.5      4.18    0.6%
    3     798.5     4.922    0.6%
    4       930      2.18    0.2%
    5      1064     15.61    1.4%
    6      1159     6.829    0.5%
    7      1292     15.13    1.1%
    8      1400     11.78    0.8%
    9      1514      13.8    0.9%
   10      1643      13.5    0.8%
   11      1738     11.84    0.6%
   12      1852     11.02    0.5%
   13      1987     17.76    0.8%
   14      2107        15    0.7%
   15      2217     14.25    0.6%
   16      2340     7.802    0.3%
   17      2458     5.453    0.2%
   18      2571     12.67    0.4%
   19      2668     11.34    0.4%
   20      2791     12.79    0.4%

Quality and confidence:
param     error
r          0.17

Model:
Time ~=    460.2
    + r      117
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_block_number", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    463.2
    + r    116.1
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     461.9     13.01    2.8%
    1     568.2     0.245    0.0%
    2     688.8     4.809    0.6%
    3     804.4     10.26    1.2%
    4     944.3     7.962    0.8%
    5      1048     12.37    1.1%
    6      1166     14.78    1.2%
    7      1284     10.89    0.8%
    8      1416     9.607    0.6%
    9      1523     15.42    1.0%
   10      1636     16.72    1.0%
   11      1729     10.08    0.5%
   12      1858     15.57    0.8%
   13      1978     10.86    0.5%
   14      2120     16.03    0.7%
   15      2215     14.79    0.6%
   16      2334     17.87    0.7%
   17      2438     11.01    0.4%
   18      2550     15.86    0.6%
   19      2659      10.2    0.3%
   20      2776     9.088    0.3%

Quality and confidence:
param     error
r         0.195

Model:
Time ~=    466.9
    + r    116.1
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_now", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=      467
    + r    116.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.4     0.561    0.1%
    1       593     15.06    2.5%
    2     698.7     2.865    0.4%
    3     810.7     0.979    0.1%
    4     936.5     7.233    0.7%
    5      1049        10    0.9%
    6      1181     13.38    1.1%
    7      1295     14.42    1.1%
    8      1417     11.81    0.8%
    9      1509     9.768    0.6%
   10      1619     11.03    0.6%
   11      1741     13.54    0.7%
   12      1867     13.92    0.7%
   13      1975     11.98    0.6%
   14      2109     15.86    0.7%
   15      2220     9.662    0.4%
   16      2324      9.65    0.4%
   17      2462     14.61    0.5%
   18      2566     12.18    0.4%
   19      2696     6.343    0.2%
   20      2776     11.34    0.4%

Quality and confidence:
param     error
r         0.178

Model:
Time ~=    467.7
    + r    116.5
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_weight_to_fee", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)

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

Model:
Time ~=    468.6
    + r    276.3
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.3     0.408    0.0%
    1     747.2     7.774    1.0%
    2      1025     11.77    1.1%
    3      1307     11.79    0.9%
    4      1583     10.99    0.6%
    5      1855     14.84    0.7%
    6      2130     7.786    0.3%
    7      2402     7.087    0.2%
    8      2675     8.306    0.3%
    9      2959     9.463    0.3%
   10      3229      10.9    0.3%
   11      3508      9.97    0.2%
   12      3791     14.39    0.3%
   13      4050     13.59    0.3%
   14      4326     11.97    0.2%
   15      4608     16.25    0.3%
   16      4866     14.21    0.2%
   17      5200     18.86    0.3%
   18      5455     13.18    0.2%
   19      5723     15.87    0.2%
   20      6007     12.95    0.2%

Quality and confidence:
param     error
r         0.193

Model:
Time ~=    467.2
    + r    276.6
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_gas", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    195.9
    + r    52.31
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.2      1.21    0.6%
    1     247.1     0.273    0.1%
    2     299.8     0.472    0.1%
    3     358.6     0.336    0.0%
    4     409.7     0.547    0.1%
    5     449.9     1.567    0.3%
    6     505.3     1.137    0.2%
    7     561.2     7.393    1.3%
    8     610.2     5.467    0.8%
    9     669.2     13.81    2.0%
   10     723.1     10.59    1.4%
   11     782.3      11.3    1.4%
   12     827.7     5.598    0.6%
   13     887.3     12.51    1.4%
   14     936.5     10.37    1.1%
   15     986.8     9.992    1.0%
   16      1033      4.23    0.4%
   17      1087     2.792    0.2%
   18      1137     9.226    0.8%
   19      1191     9.264    0.7%
   20      1238     6.467    0.5%

Quality and confidence:
param     error
r         0.101

Model:
Time ~=    195.3
    + r    52.54
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_input", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    469.8
    + r    99.16
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     466.1       8.3    1.7%
    1     567.8     4.531    0.7%
    2     666.2      2.87    0.4%
    3       766     8.772    1.1%
    4     878.2     12.49    1.4%
    5     971.5     11.53    1.1%
    6      1072      15.3    1.4%
    7      1157     12.21    1.0%
    8      1260      14.2    1.1%
    9      1364     13.47    0.9%
   10      1451      12.1    0.8%
   11      1544     9.762    0.6%
   12      1641     10.73    0.6%
   13      1744     14.94    0.8%
   14      1878     13.37    0.7%
   15      1970     14.98    0.7%
   16      2071     7.537    0.3%
   17      2160     16.08    0.7%
   18      2248     13.74    0.6%
   19      2367     13.08    0.5%
   20      2467      12.3    0.4%

Quality and confidence:
param     error
r         0.182

Model:
Time ~=    466.5
    + r    99.62
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_input_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    601.3
    + n    38.05
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     579.5     14.54    2.5%
   20      1341      14.9    1.1%
   40      2122     8.997    0.4%
   60      2884     3.679    0.1%
   80      3654     10.98    0.3%
  100      4403     11.43    0.2%
  120      5172     11.43    0.2%
  140      5946     17.51    0.2%
  160      6691     18.12    0.2%
  180      7455      17.5    0.2%
  200      8213     14.42    0.1%
  220      8977     13.16    0.1%
  240      9745     25.55    0.2%
  260     10480     40.42    0.3%
  280     11230     14.15    0.1%
  300     12000     25.95    0.2%
  320     12780     37.34    0.2%
  340     13540     58.09    0.4%
  360     14280     28.43    0.1%
  380     15050     30.83    0.2%
  400     15810     26.31    0.1%
  420     16580     32.66    0.1%
  440     17340     28.43    0.1%
  460     18120     30.48    0.1%
  480     18850     22.64    0.1%
  500     19630     29.54    0.1%
  520     20370     31.65    0.1%
  540     21140     40.34    0.1%
  560     21920     20.73    0.0%
  580     22690     46.83    0.2%
  600     23450     33.41    0.1%
  620     24190     12.03    0.0%
  640     24960     31.86    0.1%
  660     25700     36.34    0.1%
  680     26500     26.86    0.1%
  700     27260     38.47    0.1%
  720     28010     28.22    0.1%
  740     28750     40.56    0.1%
  760     29580     42.45    0.1%
  780     30280     39.32    0.1%
  800     31170     118.7    0.3%
  820     31770     44.36    0.1%
  840     32580     45.73    0.1%
  860     33300     28.17    0.0%
  880     34060     36.88    0.1%
  900     34860     56.07    0.1%
  920     35600      39.2    0.1%
  940     36390     37.46    0.1%
  960     37130     41.17    0.1%
  980     37870     23.56    0.0%
 1000     38630     32.34    0.0%
 1020     39400     36.15    0.0%

Quality and confidence:
param     error
n         0.006

Model:
Time ~=    598.8
    + n    38.06
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_return", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    440.9
    + r    14.97
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       444     8.234    1.8%
    1     455.8      0.15    0.0%

Quality and confidence:
param     error
r         2.745

Model:
Time ~=      444
    + r    11.81
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_return_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    456.3
    + n    0.625
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     455.6     0.375    0.0%
   20     470.2     4.253    0.9%
   40     481.1     0.177    0.0%
   60     493.6     0.251    0.0%
   80     508.6     6.574    1.2%
  100     518.5     0.396    0.0%
  120     532.2     4.229    0.7%
  140     544.8     3.764    0.6%
  160     556.4     0.221    0.0%
  180     572.4     6.053    1.0%
  200     583.8     7.426    1.2%
  220     594.1     0.239    0.0%
  240     612.6      12.2    1.9%
  260     618.7     0.324    0.0%
  280     633.2     6.325    0.9%
  300     643.6     0.134    0.0%
  320     672.2     16.45    2.4%
  340     685.2     16.79    2.4%
  360     689.4     13.26    1.9%
  380     702.7     13.19    1.8%
  400       709     9.074    1.2%
  420     720.3     5.474    0.7%
  440     734.1     8.047    1.0%
  460     745.3      3.89    0.5%
  480       767     15.26    1.9%
  500     777.9     8.752    1.1%
  520     794.1     12.81    1.6%
  540     794.1     0.708    0.0%
  560     813.3     11.29    1.3%
  580       821      3.78    0.4%
  600     837.3     9.587    1.1%
  620     843.4     0.444    0.0%
  640     866.6     12.55    1.4%
  660       872     7.416    0.8%
  680     884.6     7.364    0.8%
  700     898.9     10.57    1.1%
  720     909.9     7.559    0.8%
  740     924.1     8.644    0.9%
  760     935.1     8.471    0.9%
  780     947.4      6.37    0.6%
  800     973.5     14.58    1.4%
  820     976.8     9.642    0.9%
  840     984.6     7.296    0.7%
  860      1001     10.99    1.0%
  880      1020     14.85    1.4%
  900      1028     12.56    1.2%
  920      1042     14.02    1.3%
  940      1042     3.829    0.3%
  960      1062     9.976    0.9%
  980      1083     11.81    1.0%
 1000      1090     9.544    0.8%
 1020      1096     6.149    0.5%

Quality and confidence:
param     error
n         0.001

Model:
Time ~=    457.8
    + n    0.632
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_terminate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: Contracts DeletionQueue (r:1 w:1)
Storage: Contracts OwnerInfoOf (r:1 w:1)

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

Model:
Time ~=    462.5
    + r    87.53
              µs

Reads = 4 + (4 * r)
Writes = 2 + (4 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     462.7     0.365    0.0%
    1     550.8     2.151    0.3%

Quality and confidence:
param     error
r         0.727

Model:
Time ~=    462.7
    + r    88.13
              µs

Reads = 4 + (4 * r)
Writes = 2 + (4 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_random", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)

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

Model:
Time ~=    460.1
    + r    375.7
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     463.6     0.264    0.0%
    1     842.7     6.314    0.7%
    2      1208     12.17    1.0%
    3      1603     15.18    0.9%
    4      1953     12.63    0.6%
    5      2335     11.88    0.5%
    6      2708     12.18    0.4%
    7      3057     9.632    0.3%
    8      3434     10.78    0.3%
    9      3844     8.419    0.2%
   10      4207     19.61    0.4%
   11      4603     16.29    0.3%
   12      4983     19.13    0.3%
   13      5331     21.61    0.4%
   14      5687     24.14    0.4%
   15      6065     12.53    0.2%
   16      6411     13.72    0.2%
   17      6918      13.4    0.1%
   18      7270     22.72    0.3%
   19      7612      11.8    0.1%
   20      7989     17.05    0.2%

Quality and confidence:
param     error
r          0.36

Model:
Time ~=    451.2
    + r    376.4
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_deposit_event", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    458.8
    + r    637.1
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     454.4     0.274    0.0%
    1      1111     17.03    1.5%
    2      1743     15.46    0.8%
    3      2383     7.626    0.3%
    4      3013     9.366    0.3%
    5      3656     7.019    0.1%
    6      4287     20.49    0.4%
    7      4921     17.75    0.3%
    8      5575     12.82    0.2%
    9      6175     14.45    0.2%
   10      6821     12.37    0.1%
   11      7450     19.58    0.2%
   12      8094     12.58    0.1%
   13      8683     21.36    0.2%
   14      9423     45.69    0.4%
   15      9937     12.84    0.1%
   16     10600     25.85    0.2%
   17     11310     30.78    0.2%
   18     11970     29.66    0.2%
   19     12620     25.46    0.2%
   20     13270     34.95    0.2%

Quality and confidence:
param     error
r         0.474

Model:
Time ~=    454.6
    + r    637.9
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_deposit_event_per_topic_and_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: System EventTopics (r:100 w:100)

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

Model:
Time ~=     1193
    + t    463.8
    + n    163.6
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 2 + (100 * t) + (0 * n)

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

Data points distribution:
    t     n   mean µs  sigma µs       %
    0    16      3751      8.56    0.2%
    1    16      4308     9.527    0.2%
    2    16      4796     12.97    0.2%
    3    16      5237     25.51    0.4%
    4     0      3025     12.62    0.4%
    4     1      3236     27.76    0.8%
    4     2      3365     11.27    0.3%
    4     3      3504      15.8    0.4%
    4     4      3690     18.62    0.5%
    4     5      3852     15.15    0.3%
    4     6      4025     15.85    0.3%
    4     7      4170     16.76    0.4%
    4     8      4305     5.712    0.1%
    4     9      4478     11.52    0.2%
    4    10      4747     51.34    1.0%
    4    11      4806      12.3    0.2%
    4    12      5019     16.99    0.3%
    4    13      5169     14.95    0.2%
    4    14      5350     9.681    0.1%
    4    15      5504      9.95    0.1%
    4    16      5641     17.72    0.3%

Quality and confidence:
param     error
t         2.659
n         0.524

Model:
Time ~=     1175
    + t    463.7
    + n    164.8
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 2 + (100 * t) + (0 * n)

Pallet: "pallet_contracts", Extrinsic: "seal_debug_message", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    203.7
    + r    69.54
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     210.8     0.235    0.1%
    1     272.4      0.16    0.0%
    2       342     0.256    0.0%
    3     413.5     0.809    0.1%
    4     479.4     0.796    0.1%
    5     543.6     0.617    0.1%
    6     626.2     6.874    1.0%
    7     689.2     1.655    0.2%
    8     754.6     1.212    0.1%
    9     821.3     3.598    0.4%
   10       889     2.478    0.2%
   11     983.6      10.2    1.0%
   12      1052     7.763    0.7%
   13      1117     11.93    1.0%
   14      1190     11.26    0.9%
   15      1241      2.13    0.1%
   16      1313     11.41    0.8%
   17      1401     13.42    0.9%
   18      1460     8.845    0.6%
   19      1527     13.37    0.8%
   20      1606     14.39    0.8%

Quality and confidence:
param     error
r         0.123

Model:
Time ~=    201.6
    + r       70
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_set_storage", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=    493.5
    + r      383
              µs

Reads = 4 + (100 * r)
Writes = 2 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       450     0.166    0.0%
    1     941.9     14.93    1.5%
    2      1282     10.98    0.8%
    3      1654     13.47    0.8%
    4      2015     11.32    0.5%
    5      2392     12.06    0.5%
    6      2791     8.549    0.3%
    7      3143     12.77    0.4%
    8      3522     7.682    0.2%
    9      3968     15.32    0.3%
   10      4311     11.45    0.2%
   11      4723     16.23    0.3%
   12      5098        19    0.3%
   13      5469     16.42    0.3%
   14      5829     12.75    0.2%
   15      6184     9.077    0.1%
   16      6569     34.11    0.5%
   17      6912     30.41    0.4%
   18      7470        42    0.5%
   19      7813     20.85    0.2%
   20      8212     19.72    0.2%

Quality and confidence:
param     error
r         0.528

Model:
Time ~=    489.4
    + r    383.2
              µs

Reads = 4 + (100 * r)
Writes = 2 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_set_storage_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:1)

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

Model:
Time ~=    829.2
    + n    73.01
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     766.8     3.034    0.3%
    1     908.8     14.87    1.6%
    2     979.4      8.31    0.8%
    3      1052     8.445    0.8%
    4      1130     8.222    0.7%
    5      1188     3.736    0.3%
    6      1292     12.29    0.9%
    7      1342     9.938    0.7%
    8      1426     19.44    1.3%
    9      1482     14.97    1.0%
   10      1556     9.296    0.5%
   11      1638     20.61    1.2%
   12      1697     11.16    0.6%
   13      1792     13.99    0.7%
   14      1857     9.735    0.5%
   15      1915     14.43    0.7%
   16      1995     10.76    0.5%

Quality and confidence:
param     error
n         0.332

Model:
Time ~=    822.3
    + n    73.86
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_clear_storage", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=    208.7
    + r    858.4
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     462.7      0.26    0.0%
    1      1242     3.797    0.3%
    2      2021     13.42    0.6%
    3      2819     18.09    0.6%
    4      3605     17.28    0.4%
    5      4482     12.41    0.2%
    6      5265     14.63    0.2%
    7      6090     30.23    0.4%
    8      6940      25.8    0.3%
    9      7802     28.62    0.3%
   10      8668     23.12    0.2%
   11      9507     41.03    0.4%
   12     10550     155.9    1.4%
   13     11450     39.97    0.3%
   14     12580     35.79    0.2%
   15     12960     63.77    0.4%
   16     13890     65.95    0.4%
   17     14750     42.99    0.2%
   18     15910     36.05    0.2%
   19     16740     65.64    0.3%
   20     17620     44.96    0.2%

Quality and confidence:
param     error
r          1.85

Model:
Time ~=    201.9
    + r    862.6
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_get_storage", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=      335
    + r    505.5
              µs

Reads = 4 + (100 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     465.9     2.144    0.4%
    1     949.3     5.295    0.5%
    2      1369     6.648    0.4%
    3      1874      11.7    0.6%
    4      2327     10.47    0.4%
    5      2832     9.625    0.3%
    6      3355     13.05    0.3%
    7      3805     20.35    0.5%
    8      4272     21.02    0.4%
    9      4846     18.09    0.3%
   10      5339     23.44    0.4%
   11      5902     19.53    0.3%
   12      6403     31.08    0.4%
   13      6862     27.96    0.4%
   14      7350     18.37    0.2%
   15      7887     9.097    0.1%
   16      8431     38.35    0.4%
   17      8935      27.4    0.3%
   18      9545     26.64    0.2%
   19     10100     36.73    0.3%
   20     10540     23.11    0.2%

Quality and confidence:
param     error
r         0.846

Model:
Time ~=    330.4
    + r    506.9
              µs

Reads = 4 + (100 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_get_storage_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:0)

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

Model:
Time ~=    756.8
    + n    110.9
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     739.9     13.21    1.7%
    1     864.1     3.238    0.3%
    2     977.4     3.134    0.3%
    3      1092     4.237    0.3%
    4      1226     15.36    1.2%
    5      1309     0.609    0.0%
    6      1424     6.578    0.4%
    7      1541     15.92    1.0%
    8      1646      11.6    0.7%
    9      1762     20.03    1.1%
   10      1862     15.11    0.8%
   11      1970     8.933    0.4%
   12      2090     9.695    0.4%
   13      2193     12.34    0.5%
   14      2328     7.423    0.3%
   15      2426     14.83    0.6%
   16      2532      15.6    0.6%

Quality and confidence:
param     error
n         0.235

Model:
Time ~=    755.8
    + n    111.3
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_transfer", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=      406
    + r     4034
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       456     1.457    0.3%
    1      4447     10.05    0.2%
    2      8462     14.89    0.1%
    3     12480     31.96    0.2%
    4     16540     17.06    0.1%
    5     20610     19.21    0.0%
    6     24520     50.14    0.2%
    7     28890     50.73    0.1%
    8     32380     53.42    0.1%
    9     36550     40.12    0.1%
   10     40650     60.96    0.1%
   11     45040     71.64    0.1%
   12     49180     40.75    0.0%
   13     52780     61.58    0.1%
   14     56690     65.43    0.1%
   15     60600     84.59    0.1%
   16     64630     75.51    0.1%
   17     68590     73.36    0.1%
   18     73390     97.56    0.1%
   19     78280     48.82    0.0%
   20     81260      63.7    0.0%

Quality and confidence:
param     error
r         3.878

Model:
Time ~=    321.2
    + r     4046
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_call", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    101.5
    + r    39740
              µs

Reads = 5 + (100 * r)
Writes = 2 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     473.4     8.636    1.8%
    1     40120     40.94    0.1%
    2     79540     39.49    0.0%
    3    119300     64.09    0.0%
    4    159100     77.76    0.0%
    5    198400     87.98    0.0%
    6    238200     126.9    0.0%
    7    278200     135.2    0.0%
    8    317100     183.6    0.0%
    9    357000     140.3    0.0%
   10    396700     249.3    0.0%
   11    436500     252.8    0.0%
   12    478000     345.3    0.0%
   13    518400     178.3    0.0%
   14    558000     159.5    0.0%
   15    596200       115    0.0%
   16    636100     183.7    0.0%
   17    675300     127.9    0.0%
   18    716100     509.3    0.0%
   19    756100     703.2    0.0%
   20    794400     192.6    0.0%

Quality and confidence:
param     error
r         8.475

Model:
Time ~=        0
    + r    39760
              µs

Reads = 5 + (100 * r)
Writes = 2 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_call_per_transfer_input_output_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:101 w:101)
Storage: Contracts CodeStorage (r:2 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=   136700
    + t        0
    + i    63.01
    + o        0
              µs

Reads = 105 + (1 * t) + (0 * i) + (0 * o)
Writes = 102 + (0 * t) + (0 * i) + (0 * o)

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

Data points distribution:
    t     i     o   mean µs  sigma µs       %
    0  1024   960    201200     122.3    0.0%
    1     0   960      2256     8.648    0.3%
    1    20   960      3612     11.47    0.3%
    1    40   960      4903     9.356    0.1%
    1    60   960      6146     12.11    0.1%
    1    80   960      7435     16.14    0.2%
    1   100   960      8701     9.162    0.1%
    1   120   960      9958     11.83    0.1%
    1   140   960     11250     43.16    0.3%
    1   160   960     12510     18.99    0.1%
    1   180   960     13760     18.96    0.1%
    1   200   960     15030     19.27    0.1%
    1   220   960     16280     35.18    0.2%
    1   240   960     17560     38.64    0.2%
    1   260   960     18770     33.42    0.1%
    1   280   960     20040     31.09    0.1%
    1   300   960     21300     32.01    0.1%
    1   320   960     22570     29.77    0.1%
    1   340   960     23790     44.26    0.1%
    1   360   960     25070     45.88    0.1%
    1   380   960     26370     45.18    0.1%
    1   400   960     27570     29.13    0.1%
    1   420   960     28830     42.31    0.1%
    1   440   960     30100     29.76    0.0%
    1   460   960     31350     58.64    0.1%
    1   480   960     32590     49.24    0.1%
    1   500   960     33860     25.46    0.0%
    1   520   960     35160      38.6    0.1%
    1   540   960     36370     30.13    0.0%
    1   560   960     37640     35.98    0.0%
    1   580   960     38950     59.52    0.1%
    1   600   960     40150     37.73    0.0%
    1   620   960     41440     31.97    0.0%
    1   640   960     42630     17.02    0.0%
    1   660   960     43980     21.98    0.0%
    1   680   960     45160      42.3    0.0%
    1   700   960     46500     47.48    0.1%
    1   720   960     47720     55.16    0.1%
    1   740   960     49010     65.76    0.1%
    1   760   960     50210     41.38    0.0%
    1   780   960     51580     53.59    0.1%
    1   800   960     53640     74.49    0.1%
    1   820   960     53990     44.66    0.0%
    1   840   960     55300     60.61    0.1%
    1   860   960     56600     59.35    0.1%
    1   880   960     57800     42.66    0.0%
    1   900   960     59530     139.7    0.2%
    1   920   960     60360      61.4    0.1%
    1   940   960     61620     59.26    0.0%
    1   960   960     63830       133    0.2%
    1   980   960     64120     40.68    0.0%
    1  1000   960     65360     49.62    0.0%
    1  1020   960     66620     43.99    0.0%
    1  1024     0     66800     70.06    0.1%
    1  1024    19     66850     32.96    0.0%
    1  1024    38     66980     97.38    0.1%
    1  1024    57     66850     61.68    0.0%
    1  1024    76     66840     30.83    0.0%
    1  1024    95     66870     96.47    0.1%
    1  1024   114     66820     59.89    0.0%
    1  1024   133     66890     48.83    0.0%
    1  1024   152     66850     37.43    0.0%
    1  1024   171     66840     57.69    0.0%
    1  1024   190     66950     55.89    0.0%
    1  1024   209     66870     43.33    <truncated>...

ERROR: Unable to push ./frame/contracts/src/weights.rs

@athei
Copy link
Member Author

athei commented Oct 22, 2021

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Oct 22, 2021

Benchmark Runtime Pallet for branch "at-storage-deposit" with command cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

Results
Pallet: "pallet_contracts", Extrinsic: "on_initialize", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts DeletionQueue (r:1 w:0)

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

Model:
Time ~=    2.969
              µs

Reads = 1
Writes = 0

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

Model:
Time ~=    2.969
              µs

Reads = 1
Writes = 0

Pallet: "pallet_contracts", Extrinsic: "on_initialize_per_trie_key", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=        0
    + k    2.177
              µs

Reads = 1 + (0 * k)
Writes = 1 + (1 * k)

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

Data points distribution:
    k   mean µs  sigma µs       %
    0      69.3     0.405    0.5%
   20     62.21     0.355    0.5%
   40     98.91     0.688    0.6%
   60     135.5     1.212    0.8%
   80     173.2     1.206    0.6%
  100     211.5     2.964    1.4%
  120       252     1.334    0.5%
  140       295     1.869    0.6%
  160     336.7     2.985    0.8%
  180     375.8     2.237    0.5%
  200       417     1.507    0.3%
  220     459.7     2.314    0.5%
  240     507.8     7.047    1.3%
  260     548.1     2.808    0.5%
  280     595.4     6.838    1.1%
  300     632.5     7.286    1.1%
  320       675     5.492    0.8%
  340     731.5     4.482    0.6%
  360     778.9     9.758    1.2%
  380     819.3     7.509    0.9%
  400     868.3     9.562    1.1%
  420     905.1     8.527    0.9%
  440       951     8.292    0.8%
  460     979.5     6.036    0.6%
  480      1051     12.43    1.1%
  500      1086      13.3    1.2%
  520      1146     12.17    1.0%
  540      1161     14.46    1.2%
  560      1203     10.83    0.9%
  580      1255      9.16    0.7%
  600      1283     12.48    0.9%
  620      1341     10.34    0.7%
  640      1388     14.03    1.0%
  660      1430     11.21    0.7%
  680      1482      16.9    1.1%
  700      1532     15.97    1.0%
  720      1582     16.82    1.0%
  740      1618     16.47    1.0%
  760      1664     11.32    0.6%
  780      1689     6.643    0.3%
  800      1736     16.28    0.9%
  820      1772     11.03    0.6%
  840      1810     21.03    1.1%
  860      1867      11.1    0.5%
  880      1915        10    0.5%
  900      1967     13.74    0.6%
  920      2014     13.79    0.6%
  940      2061        18    0.8%
  960      2082     17.25    0.8%
  980      2163     20.33    0.9%
 1000      2207      22.9    1.0%
 1020      2221     17.46    0.7%

Quality and confidence:
param     error
k         0.002

Model:
Time ~=        0
    + k    2.184
              µs

Reads = 1 + (0 * k)
Writes = 1 + (1 * k)

Pallet: "pallet_contracts", Extrinsic: "on_initialize_per_queue_item", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts DeletionQueue (r:1 w:0)

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

Model:
Time ~=    100.5
    + q    0.312
              µs

Reads = 1 + (0 * q)
Writes = 1 + (0 * q)

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

Data points distribution:
    q   mean µs  sigma µs       %
    0     3.037     0.027    0.8%
   20     83.69     0.766    0.9%
   40     95.88     1.112    1.1%
   60     116.3     3.917    3.3%
   80     117.1     0.516    0.4%
  100     126.4     0.782    0.6%
  120       136     1.795    1.3%
  140     147.1     1.563    1.0%
  160     154.3     0.817    0.5%
  180     165.1     0.919    0.5%
  200     172.9     0.672    0.3%
  220     182.1     0.933    0.5%
  240     191.1     1.529    0.7%
  260       200     0.599    0.2%
  280     210.2     1.168    0.5%
  300     190.4     4.825    2.5%
  320     196.7     3.463    1.7%
  340     203.4      1.23    0.6%
  360     237.5     1.359    0.5%
  380     247.1     1.238    0.5%
  400     254.9      1.57    0.6%
  420     229.2     1.956    0.8%
  440     271.1     1.015    0.3%
  460     242.5     2.369    0.9%
  480     249.8     1.985    0.7%
  500     255.7     0.759    0.2%
  520     261.7     2.223    0.8%
  540       267     1.316    0.4%
  560       276     0.947    0.3%
  580     282.9     1.227    0.4%
  600     289.3     1.351    0.4%
  620     293.3     1.285    0.4%
  640       300     1.854    0.6%
  660     307.2     1.632    0.5%
  680     313.2     0.886    0.2%
  700     320.3     0.757    0.2%
  720       326     1.197    0.3%
  740     330.3      0.84    0.2%
  760     339.4     0.702    0.2%
  780     344.7     0.426    0.1%
  800     353.5     1.895    0.5%
  820     357.7      2.17    0.6%
  840       363     1.083    0.2%
  860     368.5     0.983    0.2%
  880     373.3     0.916    0.2%
  900     379.3     0.749    0.1%
  920     384.8     1.194    0.3%
  940       392     1.008    0.2%
  960     397.2     1.316    0.3%
  980     403.4     1.898    0.4%
 1000     409.2     1.281    0.3%
 1020       414     1.076    0.2%

Quality and confidence:
param     error
q         0.002

Model:
Time ~=    97.47
    + q    0.319
              µs

Reads = 1 + (0 * q)
Writes = 1 + (0 * q)

Pallet: "pallet_contracts", Extrinsic: "instrument", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts PristineCode (r:1 w:0)
Storage: Contracts CodeStorage (r:0 w:1)

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

Model:
Time ~=     48.9
    + c    74.37
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     55.35     0.171    0.3%
    2     206.9     0.204    0.0%
    4     350.9      0.29    0.0%
    6       484     0.572    0.1%
    8     641.6     5.354    0.8%
   10     782.8     6.698    0.8%
   12     919.4     13.96    1.5%
   14      1098     12.41    1.1%
   16      1232     14.22    1.1%
   18      1393     15.02    1.0%
   20      1512     11.75    0.7%
   22      1651     12.04    0.7%
   24      1789     11.34    0.6%
   26      2028     3.084    0.1%
   28      2146     13.78    0.6%
   30      2284     2.409    0.1%
   32      2410     14.03    0.5%
   34      2600     13.09    0.5%
   36      2727     14.32    0.5%
   38      2868     15.83    0.5%
   40      2995     9.092    0.3%
   42      3125     2.593    0.0%
   44      3268     19.13    0.5%
   46      3390     19.01    0.5%
   48      3517     18.84    0.5%
   50      3858     18.23    0.4%
   52      3987     14.25    0.3%
   54      4113     12.49    0.3%
   56      4230     14.76    0.3%
   58      4385     14.78    0.3%
   60      4499     9.488    0.2%
   62      4634     13.76    0.2%
   64      4762     19.78    0.4%
   66      4999     9.552    0.1%
   68      5126     15.35    0.2%
   70      5275     19.93    0.3%
   72      5381        19    0.3%
   74      5528     15.69    0.2%
   76      5720     20.33    0.3%
   78      5787     14.19    0.2%
   80      5913     13.08    0.2%
   82      6091     22.75    0.3%
   84      6174     14.86    0.2%
   86      6315     24.03    0.3%
   88      6438     15.82    0.2%
   90      6567     12.62    0.1%
   92      6730     20.66    0.3%
   94      6840     17.81    0.2%
   96      6948      10.2    0.1%
   98      7518     16.78    0.2%
  100      7655     6.498    0.0%
  102      7796     15.42    0.1%
  104      7990     16.73    0.2%
  106      8078     28.83    0.3%
  108      8195     17.77    0.2%
  110      8330     11.02    0.1%
  112      8461     13.27    0.1%
  114      8716     46.29    0.5%
  116      8708      24.4    0.2%
  118      8852     33.03    0.3%
  120      8988     29.47    0.3%
  122      9098     15.17    0.1%
  124      9266     34.85    0.3%
  126      9358     10.56    0.1%
  128      9503     9.007    0.0%

Quality and confidence:
param     error
c         0.093

Model:
Time ~=    30.22
    + c     74.6
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)

Pallet: "pallet_contracts", Extrinsic: "code_load", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:0)

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

Model:
Time ~=    8.166
    + c    1.453
              µs

Reads = 1 + (0 * c)
Writes = 0 + (0 * c)

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     7.403     0.093    1.2%
    2     11.03      0.08    0.7%
    4      14.1     0.059    0.4%
    6     16.56     0.071    0.4%
    8     19.79     0.117    0.5%
   10     22.71     0.032    0.1%
   12     25.75     0.196    0.7%
   14     28.16     0.083    0.2%
   16     31.16     0.163    0.5%
   18     34.58     0.096    0.2%
   20      37.6     0.264    0.7%
   22     40.66     0.078    0.1%
   24     43.25     0.032    0.0%
   26     46.17     0.146    0.3%
   28     48.92     0.109    0.2%
   30     52.88     0.421    0.7%
   32     55.19     0.077    0.1%
   34     57.93     0.103    0.1%
   36     60.69     0.119    0.1%
   38     63.62     0.087    0.1%
   40     66.57      0.09    0.1%
   42        69     0.072    0.1%
   44     71.93      0.12    0.1%
   46     74.73     0.071    0.0%
   48      77.6     0.154    0.1%
   50     80.79     0.092    0.1%
   52     83.37     0.161    0.1%
   54     86.55     0.172    0.1%
   56     89.39     0.096    0.1%
   58     92.43     0.081    0.0%
   60     95.17     0.134    0.1%
   62     98.08     0.144    0.1%
   64     100.7     0.165    0.1%
   66     103.8     0.122    0.1%
   68     106.6      0.31    0.2%
   70     109.7     0.152    0.1%
   72     112.3     0.117    0.1%
   74     115.4     0.119    0.1%
   76     118.3     0.107    0.0%
   78     121.5     0.132    0.1%
   80     124.3      0.18    0.1%
   82     126.9      0.13    0.1%
   84     130.3      0.33    0.2%
   86     132.7     0.338    0.2%
   88     136.1      0.34    0.2%
   90     138.6     0.299    0.2%
   92     141.5     0.235    0.1%
   94     144.3     0.209    0.1%
   96     147.4     0.082    0.0%
   98     150.4     0.193    0.1%
  100     152.9     0.083    0.0%
  102     155.7     0.159    0.1%
  104     158.9     0.092    0.0%
  106     161.9     0.395    0.2%
  108     165.6     0.539    0.3%
  110     168.4     0.342    0.2%
  112     171.2     0.336    0.1%
  114     174.2     0.218    0.1%
  116     176.9     0.351    0.1%
  118     179.9      0.51    0.2%
  120     182.9     0.283    0.1%
  122       186     0.124    0.0%
  124     189.9     0.809    0.4%
  126     192.2     0.542    0.2%
  128     194.8     0.406    0.2%

Quality and confidence:
param     error
c             0

Model:
Time ~=    8.062
    + c    1.455
              µs

Reads = 1 + (0 * c)
Writes = 0 + (0 * c)

Pallet: "pallet_contracts", Extrinsic: "instantiate_with_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:1)
Storage: Contracts AccountCounter (r:1 w:0)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Timestamp Now (r:1 w:0)
Storage: System Account (r:1 w:1)
Storage: Contracts PristineCode (r:0 w:1)
Storage: Contracts OwnerInfoOf (r:0 w:1)

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

Model:
Time ~=    606.4
    + c    176.1
    + s    2.026
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 5 + (0 * c) + (0 * s)

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

Data points distribution:
    c     s   mean µs  sigma µs       %
    0  1024      2664     16.31    0.6%
    1  1024      2846     14.19    0.4%
    2  1024      3035     10.38    0.3%
    3  1024      3194     8.932    0.2%
    4  1024      3383     22.47    0.6%
    5  1024      3550     10.02    0.2%
    6  1024      3720     26.77    0.7%
    7  1024      3903     17.44    0.4%
    8  1024      4047     20.47    0.5%
    9  1024      4277     18.81    0.4%
   10  1024      4437      11.2    0.2%
   11  1024      4591     14.25    0.3%
   12  1024      4748     22.55    0.4%
   13  1024      4971     19.41    0.3%
   14  1024      5121     12.72    0.2%
   15  1024      5290     18.69    0.3%
   16  1024      5455     16.21    0.2%
   17  1024      5750      18.9    0.3%
   18  1024      5926     26.07    0.4%
   19  1024      6055     19.02    0.3%
   20  1024      6211     21.43    0.3%
   21  1024      6359        15    0.2%
   22  1024      6539     16.37    0.2%
   23  1024      6666     19.34    0.2%
   24  1024      6819     16.36    0.2%
   25  1024      7161     19.74    0.2%
   26  1024      7297     16.48    0.2%
   27  1024      7429     23.44    0.3%
   28  1024      7623     13.64    0.1%
   29  1024      7785     7.333    0.0%
   30  1024      7924     13.27    0.1%
   31  1024      8068     27.05    0.3%
   32  1024      8247     22.15    0.2%
   33  1024      8660     22.79    0.2%
   34  1024      8817     24.51    0.2%
   35  1024      8978     21.11    0.2%
   36  1024      9136     31.84    0.3%
   37  1024      9302     27.33    0.2%
   38  1024      9451     29.38    0.3%
   39  1024      9585     25.98    0.2%
   40  1024      9754     28.89    0.2%
   41  1024      9921     27.46    0.2%
   42  1024     10040     17.34    0.1%
   43  1024     10200     37.36    0.3%
   44  1024     10360     27.07    0.2%
   45  1024     10520     27.09    0.2%
   46  1024     10690     22.34    0.2%
   47  1024     10810     23.59    0.2%
   48  1024     10980     24.54    0.2%
   49  1024     11510      36.2    0.3%
   50  1024     11660     67.39    0.5%
   51  1024     11790     17.25    0.1%
   52  1024     11990     36.22    0.3%
   53  1024     12110     32.84    0.2%
   54  1024     12270     40.93    0.3%
   55  1024     12410     16.02    0.1%
   56  1024     12560     30.66    0.2%
   57  1024     12710     29.34    0.2%
   58  1024     12870     29.09    0.2%
   59  1024     13050      36.7    0.2%
   60  1024     13180     21.65    0.1%
   61  1024     13330     15.41    0.1%
   62  1024     13500     27.87    0.2%
   63  1024     13680     27.64    0.2%
   64     0     11700     45.22    0.3%
   64    20     11690     25.82    0.2%
   64    40     11820     28.05    0.2%
   64    60     11810     21.22    0.1%
   64    80     11850     37.36    0.3%
   64   100     11930     43.65    0.3%
   64   120     11940     32.12    0.2%
   64   140     11970     38.65    0.3%
   64   160     12010     35.86    0.2%
   64   180     12100     42.21    0.3%
   64   200     12150     34.47    0.2%
   64   220     12130     24.43    0.2%
   64   240     12180     29.49    0.2%
   64   260     12230     27.15    0.2%
   64   280     12250     26.44    0.2%
   64   300     12300      32.1    0.2%
   64   320     12340     25.18    0.2%
   64   340     12420     35.27    0.2%
   64   360     12410     25.53    0.2%
   64   380     12450     18.04    0.1%
   64   400     12510     24.29    0.1%
   64   420     12570     31.66    0.2%
   64   440     12590     19.92    0.1%
   64   460     12620     28.09    0.2%
   64   480     12660     32.99    0.2%
   64   500     12720     31.97    0.2%
   64   520     12750     31.91    0.2%
   64   540     12780     30.38    0.2%
   64   560     12830     19.59    0.1%
   64   580     12890     32.05    0.2%
   64   600     12910     38.77    0.3%
   64   620     12940     36.06    0.2%
   64   640     12980      28.6    0.2%
   64   660     13050     29.92    0.2%
   64   680     13080     19.62    0.1%
   64   700     13300     12.72    0.0%
   64   720     13150     33.12    0.2%
   64   740     13180      33.3    0.2%
   64   760     13220      21.3    0.1%
   64   780     13250     36.33    0.2%
   64   800     13300     15.79    0.1%
   64   820     13340     21.14    0.1%
   64   840     13380      47.3    0.3%
   64   860     13430     29.86    0.2%
   64   880     13510     25.76    0.1%
   64   900     13510     17.66    0.1%
   64   920     13570     24.98    0.1%
   64   940     13610     22.65    0.1%
   64   960     13650     24.14    0.1%
   64   980     13670     24.07    0.1%
   64  1000     13720     20.44    0.1%
   64  1020     13770     29.27    0.2%
   64  1024     13800     37.69    0.2%

Quality and confidence:
param     error
c         0.139
s         0.009

Model:
Time ~=    501.3
    + c    174.2
    + s    2.169
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 5 + (0 * c) + (0 * s)

Pallet: "pallet_contracts", Extrinsic: "instantiate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:1)
Storage: Contracts AccountCounter (r:1 w:0)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Timestamp Now (r:1 w:0)
Storage: System Account (r:1 w:1)
Storage: Contracts OwnerInfoOf (r:1 w:1)

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

Model:
Time ~=    263.1
    + s    1.981
              µs

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

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

Data points distribution:
    s   mean µs  sigma µs       %
    0     265.7     0.457    0.1%
   20     301.2     2.229    0.7%
   40     341.1      0.44    0.1%
   60     380.9     0.978    0.2%
   80     420.1     0.404    0.0%
  100     460.1     0.416    0.0%
  120     499.1     0.462    0.0%
  140     547.1     12.07    2.2%
  160     582.8     9.329    1.6%
  180       619     0.848    0.1%
  200     662.2     8.652    1.3%
  220     699.1      0.75    0.1%
  240     751.5      13.2    1.7%
  260     780.2     2.114    0.2%
  280     819.6     4.859    0.5%
  300     861.2     8.976    1.0%
  320     909.6     12.56    1.3%
  340     943.8     11.96    1.2%
  360     993.6     16.35    1.6%
  380      1015      0.61    0.0%
  400      1054     0.746    0.0%
  420      1110     14.89    1.3%
  440      1144      13.5    1.1%
  460      1184     12.88    1.0%
  480      1227      14.1    1.1%
  500      1262     11.32    0.8%
  520      1293        14    1.0%
  540      1324     11.19    0.8%
  560      1373     16.35    1.1%
  580      1408     14.82    1.0%
  600      1459     14.36    0.9%
  620      1489     15.69    1.0%
  640      1529     14.99    0.9%
  660      1566     14.11    0.9%
  680      1600     9.207    0.5%
  700      1650     14.07    0.8%
  720      1688     13.53    0.8%
  740      1728     14.95    0.8%
  760      1775     13.93    0.7%
  780      1810     13.55    0.7%
  800      1847     13.93    0.7%
  820      1899     12.57    0.6%
  840      1931     15.49    0.8%
  860      2005     2.333    0.1%
  880      2019      16.1    0.7%
  900      2052      14.3    0.6%
  920      2114      10.3    0.4%
  940      2133     15.96    0.7%
  960      2177     15.68    0.7%
  980      2219     20.83    0.9%
 1000      2253     15.88    0.7%
 1020      2297      12.2    0.5%

Quality and confidence:
param     error
s         0.002

Model:
Time ~=      263
    + s    1.991
              µs

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

Pallet: "pallet_contracts", Extrinsic: "call", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: System Account (r:1 w:1)

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

Model:
Time ~=    210.4
              µs

Reads = 4
Writes = 2

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

Model:
Time ~=    210.4
              µs

Reads = 4
Writes = 2

Pallet: "pallet_contracts", Extrinsic: "upload_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts CodeStorage (r:1 w:1)
Storage: Contracts PristineCode (r:0 w:1)
Storage: Contracts OwnerInfoOf (r:0 w:1)

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

Model:
Time ~=    94.81
    + c    72.83
              µs

Reads = 1 + (0 * c)
Writes = 3 + (0 * c)

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     94.15     0.182    0.1%
    1     172.5     0.432    0.2%
    2     244.4     0.344    0.1%
    3       309     0.426    0.1%
    4     386.4     0.414    0.1%
    5     453.9      0.45    0.0%
    6     515.9     0.623    0.1%
    7     608.7     5.225    0.8%
    8     678.1     13.26    1.9%
    9     742.1     11.25    1.5%
   10     800.4     0.981    0.1%
   11     871.5     9.947    1.1%
   12     931.9      9.95    1.0%
   13      1051     10.37    0.9%
   14      1120     14.11    1.2%
   15      1193     10.48    0.8%
   16      1255     14.78    1.1%
   17      1339     13.08    0.9%
   18      1403     13.15    0.9%
   19      1456     3.521    0.2%
   20      1540     15.88    1.0%
   21      1603     17.11    1.0%
   22      1678      6.24    0.3%
   23      1727     13.85    0.8%
   24      1799     13.46    0.7%
   25      1956     14.52    0.7%
   26      2022     15.25    0.7%
   27      2088     15.13    0.7%
   28      2165     4.821    0.2%
   29      2212     14.63    0.6%
   30      2282     12.71    0.5%
   31      2359      6.83    0.2%
   32      2423     10.28    0.4%
   33      2513     10.96    0.4%
   34      2583     4.723    0.1%
   35      2643     7.176    0.2%
   36      2711     13.45    0.4%
   37      2775     14.38    0.5%
   38      2838     15.89    0.5%
   39      2924     6.789    0.2%
   40      2961       9.5    0.3%
   41      3015     13.01    0.4%
   42      3100     19.12    0.6%
   43      3168     15.87    0.5%
   44      3218     6.461    0.2%
   45      3267     14.25    0.4%
   46      3361     10.67    0.3%
   47      3398     10.87    0.3%
   48      3477     14.15    0.4%
   49      3782     15.13    0.4%
   50      3832     12.72    0.3%
   51      3879       9.7    0.2%
   52      3954     12.38    0.3%
   53      4014     6.465    0.1%
   54      4105     13.54    0.3%
   55      4144     14.33    0.3%
   56      4208     14.17    0.3%
   57      4281     13.17    0.3%
   58      4335     14.07    0.3%
   59      4398     9.942    0.2%
   60      4470     20.27    0.4%
   61      4528     9.187    0.2%
   62      4592     10.99    0.2%
   63      4669     22.78    0.4%
   64      4737     13.22    0.2%

Quality and confidence:
param     error
c         0.095

Model:
Time ~=    84.74
    + c    73.01
              µs

Reads = 1 + (0 * c)
Writes = 3 + (0 * c)

Pallet: "pallet_contracts", Extrinsic: "remove_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Contracts OwnerInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:0 w:1)
Storage: Contracts PristineCode (r:0 w:1)

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

Model:
Time ~=    41.64
              µs

Reads = 1
Writes = 3

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

Model:
Time ~=    41.64
              µs

Reads = 1
Writes = 3

Pallet: "pallet_contracts", Extrinsic: "seal_caller", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    465.6
    + r    114.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     462.9     0.268    0.0%
    1     582.6     3.032    0.5%
    2       687      8.62    1.2%
    3       798     9.211    1.1%
    4     915.6      11.6    1.2%
    5      1045     17.93    1.7%
    6      1146     14.17    1.2%
    7      1255     2.581    0.2%
    8      1379     15.56    1.1%
    9      1493     16.63    1.1%
   10      1599     16.77    1.0%
   11      1724     13.29    0.7%
   12      1822     13.33    0.7%
   13      1948      3.03    0.1%
   14      2094     16.77    0.8%
   15      2191     13.42    0.6%
   16      2289      12.3    0.5%
   17      2422     8.401    0.3%
   18      2521     14.65    0.5%
   19      2639     6.099    0.2%
   20      2756     11.32    0.4%

Quality and confidence:
param     error
r         0.172

Model:
Time ~=    459.5
    + r    114.8
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_address", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    462.6
    + r    116.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     463.6     1.707    0.3%
    1     583.1     0.136    0.0%
    2     684.8     0.323    0.0%
    3     800.3     0.607    0.0%
    4     918.5     9.875    1.0%
    5      1047     14.01    1.3%
    6      1150     13.71    1.1%
    7      1270     6.855    0.5%
    8      1401     14.82    1.0%
    9      1516     9.377    0.6%
   10      1619     21.08    1.3%
   11      1740     13.95    0.8%
   12      1879     15.65    0.8%
   13      1965     10.95    0.5%
   14      2094     13.04    0.6%
   15      2214     14.54    0.6%
   16      2330     13.49    0.5%
   17      2449     10.26    0.4%
   18      2550     15.79    0.6%
   19      2667      14.9    0.5%
   20      2801     21.88    0.7%

Quality and confidence:
param     error
r         0.174

Model:
Time ~=      458
    + r    116.8
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_gas_left", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    465.2
    + r    113.8
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     463.8     1.753    0.3%
    1     582.8     2.685    0.4%
    2     686.7     9.582    1.3%
    3     795.7     8.855    1.1%
    4     913.4      3.12    0.3%
    5      1040     15.43    1.4%
    6      1141     12.33    1.0%
    7      1262      13.6    1.0%
    8      1373     13.72    0.9%
    9      1480     12.15    0.8%
   10      1603      11.9    0.7%
   11      1707     14.92    0.8%
   12      1819     12.17    0.6%
   13      1936     12.18    0.6%
   14      2066     12.67    0.6%
   15      2193     8.519    0.3%
   16      2302     9.175    0.3%
   17      2411     11.32    0.4%
   18      2511     17.29    0.6%
   19      2627     10.52    0.4%
   20      2745     17.85    0.6%

Quality and confidence:
param     error
r         0.164

Model:
Time ~=    459.5
    + r    114.3
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    463.8
    + r    343.3
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     463.3     0.263    0.0%
    1     817.9      5.35    0.6%
    2      1144     9.383    0.8%
    3      1490     12.76    0.8%
    4      1832     8.505    0.4%
    5      2176      12.4    0.5%
    6      2513     9.751    0.3%
    7      2877     8.931    0.3%
    8      3204     11.23    0.3%
    9      3544     13.75    0.3%
   10      3868     14.76    0.3%
   11      4218     21.48    0.5%
   12      4560     20.75    0.4%
   13      4917     10.99    0.2%
   14      5279     18.17    0.3%
   15      5645     16.41    0.2%
   16      5968     15.19    0.2%
   17      6316     12.59    0.1%
   18      6632     19.21    0.2%
   19      6980     9.878    0.1%
   20      7346     16.23    0.2%

Quality and confidence:
param     error
r         0.225

Model:
Time ~=    457.4
    + r    343.7
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_value_transferred", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    470.8
    + r    113.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     455.5     4.973    1.0%
    1     591.2     15.76    2.6%
    2     697.5     4.441    0.6%
    3     818.2     13.71    1.6%
    4     929.6     10.97    1.1%
    5      1032     0.981    0.0%
    6      1153     11.29    0.9%
    7      1279     13.64    1.0%
    8      1389     16.28    1.1%
    9      1511     15.43    1.0%
   10      1606     14.01    0.8%
   11      1723     12.27    0.7%
   12      1834     14.59    0.7%
   13      1941     11.41    0.5%
   14      2073     14.76    0.7%
   15      2181     12.56    0.5%
   16      2293     12.83    0.5%
   17      2413     11.45    0.4%
   18      2534     3.577    0.1%
   19      2621     14.75    0.5%
   20      2753     16.23    0.5%

Quality and confidence:
param     error
r         0.169

Model:
Time ~=    470.7
    + r      114
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_minimum_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    471.1
    + r    113.6
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.2     0.329    0.0%
    1     594.8     17.17    2.8%
    2     708.6     10.71    1.5%
    3     806.7     3.389    0.4%
    4     926.3     9.093    0.9%
    5      1033     4.417    0.4%
    6      1146      8.79    0.7%
    7      1270     11.92    0.9%
    8      1402     10.95    0.7%
    9      1491     12.49    0.8%
   10      1614     15.76    0.9%
   11      1727      16.3    0.9%
   12      1839     18.13    0.9%
   13      1957     3.196    0.1%
   14      2077     15.51    0.7%
   15      2195     14.18    0.6%
   16      2298     16.06    0.6%
   17      2407     11.25    0.4%
   18      2511     15.43    0.6%
   19      2639     13.02    0.4%
   20      2736     12.71    0.4%

Quality and confidence:
param     error
r          0.18

Model:
Time ~=    470.6
    + r      114
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_block_number", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    462.8
    + r    116.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.4     0.242    0.0%
    1     580.3     0.311    0.0%
    2     699.5     6.312    0.9%
    3     815.1      13.4    1.6%
    4     930.7     12.18    1.3%
    5      1050     13.96    1.3%
    6      1148     9.503    0.8%
    7      1282     14.61    1.1%
    8      1384     11.59    0.8%
    9      1508     15.12    1.0%
   10      1611     11.29    0.7%
   11      1726     15.32    0.8%
   12      1849     13.67    0.7%
   13      1944     14.86    0.7%
   14      2120     2.597    0.1%
   15      2278     4.048    0.1%
   16      2334     2.998    0.1%
   17      2501     2.658    0.1%
   18      2615     5.695    0.2%
   19      2628     12.28    0.4%
   20      2729     14.49    0.5%

Quality and confidence:
param     error
r         0.377

Model:
Time ~=    460.1
    + r    116.8
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_now", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    475.9
    + r    111.9
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     464.2     0.233    0.0%
    1     593.5     14.59    2.4%
    2       708      10.4    1.4%
    3     814.5     10.98    1.3%
    4     930.7     13.28    1.4%
    5      1055     13.69    1.2%
    6      1150     10.03    0.8%
    7      1264      8.93    0.7%
    8      1372     11.57    0.8%
    9      1485     13.53    0.9%
   10      1594     15.29    0.9%
   11      1716     11.46    0.6%
   12      1824      13.1    0.7%
   13      1932     14.46    0.7%
   14      2042     8.978    0.4%
   15      2169     15.27    0.7%
   16      2275     10.86    0.4%
   17      2378     13.24    0.5%
   18      2511     10.76    0.4%
   19      2610     13.44    0.5%
   20      2722     11.02    0.4%

Quality and confidence:
param     error
r         0.158

Model:
Time ~=    478.1
    + r    112.2
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_weight_to_fee", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)

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

Model:
Time ~=    473.4
    + r    283.5
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.4     0.374    0.0%
    1     753.3      1.53    0.2%
    2      1042     12.79    1.2%
    3      1330      14.7    1.1%
    4      1615     10.89    0.6%
    5      1894     14.83    0.7%
    6      2177      9.29    0.4%
    7      2457     10.87    0.4%
    8      2748     6.859    0.2%
    9      3014     10.24    0.3%
   10      3296     14.84    0.4%
   11      3613     13.48    0.3%
   12      3901      13.5    0.3%
   13      4168     11.33    0.2%
   14      4509     12.38    0.2%
   15      4721      14.7    0.3%
   16      5008     12.41    0.2%
   17      5286     20.45    0.3%
   18      5567     17.95    0.3%
   19      5850     10.48    0.1%
   20      6136     13.96    0.2%

Quality and confidence:
param     error
r         0.249

Model:
Time ~=      474
    + r    283.7
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_gas", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    184.4
    + r    52.71
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     182.3     0.427    0.2%
    1       249     0.281    0.1%
    2     285.6      0.29    0.1%
    3     340.8     0.283    0.0%
    4     391.7     0.359    0.0%
    5     455.4     0.578    0.1%
    6     497.8     0.867    0.1%
    7     552.9     5.236    0.9%
    8     598.5     2.897    0.4%
    9     658.2     14.92    2.2%
   10     701.2     8.806    1.2%
   11     777.8     8.088    1.0%
   12     826.6     2.927    0.3%
   13     880.5     6.622    0.7%
   14     928.7     10.31    1.1%
   15     979.9      8.49    0.8%
   16      1040     15.69    1.5%
   17      1079      2.86    0.2%
   18      1134     14.33    1.2%
   19      1184     13.18    1.1%
   20      1236     11.36    0.9%

Quality and confidence:
param     error
r          0.12

Model:
Time ~=    184.6
    + r    52.88
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_input", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    461.6
    + r    98.87
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     463.1     0.262    0.0%
    1     579.2     15.65    2.7%
    2     654.6      6.88    1.0%
    3     749.5     2.896    0.3%
    4     851.5     9.466    1.1%
    5     947.2     9.614    1.0%
    6      1034     0.841    0.0%
    7      1157     14.25    1.2%
    8      1250     16.71    1.3%
    9      1351     13.47    0.9%
   10      1449     14.52    1.0%
   11      1531     10.91    0.7%
   12      1626     9.846    0.6%
   13      1735     15.12    0.8%
   14      1868     14.55    0.7%
   15      1960     15.54    0.7%
   16      2051     14.88    0.7%
   17      2171     13.63    0.6%
   18      2251     8.551    0.3%
   19      2337     14.29    0.6%
   20      2446     8.931    0.3%

Quality and confidence:
param     error
r         0.199

Model:
Time ~=    455.5
    + r    99.54
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_input_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    587.8
    + n    38.06
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     561.8     11.12    1.9%
   20      1328      14.8    1.1%
   40      2101      16.2    0.7%
   60      2862     11.57    0.4%
   80      3622     11.41    0.3%
  100      4390     19.53    0.4%
  120      5163     12.06    0.2%
  140      5933     23.47    0.3%
  160      6678     28.39    0.4%
  180      7438     10.86    0.1%
  200      8190     22.62    0.2%
  220      9062     55.16    0.6%
  240      9718     19.01    0.1%
  260     10480     30.15    0.2%
  280     11290     31.55    0.2%
  300     12000     16.24    0.1%
  320     12770     24.65    0.1%
  340     13540     18.58    0.1%
  360     14300     46.72    0.3%
  380     15060     25.69    0.1%
  400     15800     25.36    0.1%
  420     16580     40.71    0.2%
  440     17360     49.47    0.2%
  460     18090     39.93    0.2%
  480     18840     21.32    0.1%
  500     19590     49.27    0.2%
  520     20380     49.09    0.2%
  540     21160     40.45    0.1%
  560     21940      35.3    0.1%
  580     22670     32.29    0.1%
  600     23430     28.26    0.1%
  620     24200     51.02    0.2%
  640     24960     55.43    0.2%
  660     25750     24.37    0.0%
  680     26480      31.1    0.1%
  700     27230     28.94    0.1%
  720     28010     43.74    0.1%
  740     28790     53.36    0.1%
  760     29510     34.83    0.1%
  780     30250     36.16    0.1%
  800     31030     41.01    0.1%
  820     31760     46.28    0.1%
  840     32560     22.78    0.0%
  860     33360     63.05    0.1%
  880     34090     34.99    0.1%
  900     34830     55.05    0.1%
  920     35600      23.2    0.0%
  940     36360     51.81    0.1%
  960     37150     24.84    0.0%
  980     37890     35.83    0.0%
 1000     38660     36.63    0.0%
 1020     39400     46.07    0.1%

Quality and confidence:
param     error
n         0.006

Model:
Time ~=    592.1
    + n    38.07
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_return", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    440.8
    + r    15.58
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     440.9     0.478    0.1%
    1     456.4     0.234    0.0%

Quality and confidence:
param     error
r         0.177

Model:
Time ~=    440.9
    + r    15.49
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_return_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    444.7
    + n    0.639
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     443.9     0.316    0.0%
   20     456.6     0.299    0.0%
   40     469.2     0.288    0.0%
   60     483.7     5.598    1.1%
   80     494.3     0.522    0.1%
  100       508     4.036    0.7%
  120     520.6      4.12    0.7%
  140     531.9     0.288    0.0%
  160       544      0.34    0.0%
  180     556.7      0.31    0.0%
  200     569.3     0.248    0.0%
  220     581.4     0.242    0.0%
  240       598     8.867    1.4%
  260     608.2     4.359    0.7%
  280     619.2     0.401    0.0%
  300     639.9     7.718    1.2%
  320     643.7     0.201    0.0%
  340     656.4     0.151    0.0%
  360     682.5     16.81    2.4%
  380     689.1     14.35    2.0%
  400     695.7     4.548    0.6%
  420     710.8     10.15    1.4%
  440     723.8     10.95    1.5%
  460     739.5     12.39    1.6%
  480     751.4     13.87    1.8%
  500     758.4     4.214    0.5%
  520     787.5     8.889    1.1%
  540       795     1.086    0.1%
  560     812.3     12.63    1.5%
  580     827.2      9.95    1.2%
  600       839      9.91    1.1%
  620     850.5     8.198    0.9%
  640     863.8     9.784    1.1%
  660     874.6     8.753    1.0%
  680     891.5     11.08    1.2%
  700       903     11.63    1.2%
  720     908.9      4.49    0.4%
  740     927.6     10.81    1.1%
  760     943.7     12.35    1.3%
  780       954     13.55    1.4%
  800     966.9      10.9    1.1%
  820     982.3     14.67    1.4%
  840     994.3     15.04    1.5%
  860      1007      14.2    1.4%
  880      1024     16.26    1.5%
  900      1023     6.764    0.6%
  920      1042     12.41    1.1%
  940      1058     12.65    1.1%
  960      1058     0.859    0.0%
  980      1073     5.545    0.5%
 1000      1086     7.863    0.7%
 1020      1106     12.68    1.1%

Quality and confidence:
param     error
n         0.001

Model:
Time ~=      441
    + n    0.654
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_terminate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: Contracts DeletionQueue (r:1 w:1)
Storage: Contracts OwnerInfoOf (r:1 w:1)

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

Model:
Time ~=    451.1
    + r    100.3
              µs

Reads = 4 + (4 * r)
Writes = 2 + (4 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     455.3      7.82    1.7%
    1     555.9     8.707    1.5%

Quality and confidence:
param     error
r         3.901

Model:
Time ~=    455.3
    + r    100.5
              µs

Reads = 4 + (4 * r)
Writes = 2 + (4 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_random", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)

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

Model:
Time ~=    464.2
    + r    382.8
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     467.5     5.688    1.2%
    1       846     10.75    1.2%
    2      1229     14.17    1.1%
    3      1623     14.55    0.8%
    4      1998     13.49    0.6%
    5      2374     7.942    0.3%
    6      2760     17.23    0.6%
    7      3131     11.84    0.3%
    8      3502      10.1    0.2%
    9      3940     14.76    0.3%
   10      4307     14.63    0.3%
   11      4682     15.28    0.3%
   12      5049     9.841    0.1%
   13      5433     17.82    0.3%
   14      5791     9.865    0.1%
   15      6173     18.58    0.3%
   16      6547     23.77    0.3%
   17      7005     17.49    0.2%
   18      7380     16.37    0.2%
   19      7774      15.5    0.1%
   20      8135     27.64    0.3%

Quality and confidence:
param     error
r         0.298

Model:
Time ~=      461
    + r    383.2
              µs

Reads = 5 + (0 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_deposit_event", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    453.4
    + r    640.2
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     453.8     0.122    0.0%
    1      1090     9.493    0.8%
    2      1730     16.42    0.9%
    3      2381     11.88    0.4%
    4      3014     12.54    0.4%
    5      3650     11.28    0.3%
    6      4310     10.08    0.2%
    7      4939     16.15    0.3%
    8      5555     14.59    0.2%
    9      6233     26.45    0.4%
   10      6855     21.26    0.3%
   11      7482     19.23    0.2%
   12      8126     22.79    0.2%
   13      8744     19.63    0.2%
   14      9388     25.43    0.2%
   15     10010     22.85    0.2%
   16     10670     31.79    0.2%
   17     11360     24.85    0.2%
   18     12020     26.56    0.2%
   19     12650     32.43    0.2%
   20     13280     35.92    0.2%

Quality and confidence:
param     error
r          0.35

Model:
Time ~=    446.6
    + r    640.9
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_deposit_event_per_topic_and_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: System EventTopics (r:100 w:100)

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

Model:
Time ~=     1203
    + t    478.6
    + n      164
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 2 + (100 * t) + (0 * n)

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

Data points distribution:
    t     n   mean µs  sigma µs       %
    0    16      3766     12.66    0.3%
    1    16      4343     22.66    0.5%
    2    16      4823     17.38    0.3%
    3    16      5282     13.75    0.2%
    4     0      3092     5.997    0.1%
    4     1      3279     18.86    0.5%
    4     2      3391     12.14    0.3%
    4     3      3589     19.14    0.5%
    4     4      3740      10.8    0.2%
    4     5      3899     15.44    0.3%
    4     6      4074     17.13    0.4%
    4     7      4228     21.76    0.5%
    4     8      4362     14.45    0.3%
    4     9      4520     12.58    0.2%
    4    10      4697     17.92    0.3%
    4    11      4882     7.166    0.1%
    4    12      5082     28.38    0.5%
    4    13      5228      14.2    0.2%
    4    14      5359     18.94    0.3%
    4    15      5540     13.11    0.2%
    4    16      5719     20.14    0.3%

Quality and confidence:
param     error
t         2.357
n         0.464

Model:
Time ~=     1194
    + t    471.1
    + n    164.7
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 2 + (100 * t) + (0 * n)

Pallet: "pallet_contracts", Extrinsic: "seal_debug_message", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    209.4
    + r    69.17
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     198.3     0.175    0.0%
    1     270.3     0.208    0.0%
    2     351.9     0.606    0.1%
    3     409.7     2.185    0.5%
    4     485.9     0.289    0.0%
    5     537.5     0.352    0.0%
    6     628.3     0.965    0.1%
    7     701.6     11.54    1.6%
    8     758.3     2.279    0.3%
    9     830.2     12.19    1.4%
   10     900.2     13.98    1.5%
   11     978.7     4.316    0.4%
   12      1046     5.875    0.5%
   13      1114      10.8    0.9%
   14      1181     11.69    0.9%
   15      1239     9.029    0.7%
   16      1308     12.13    0.9%
   17      1386     13.65    0.9%
   18      1452     12.74    0.8%
   19      1514     13.64    0.9%
   20      1589     16.32    1.0%

Quality and confidence:
param     error
r         0.132

Model:
Time ~=    206.1
    + r    69.31
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_set_storage", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=    500.9
    + r    378.4
              µs

Reads = 4 + (100 * r)
Writes = 2 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     466.1     5.279    1.1%
    1     930.7     11.78    1.2%
    2      1279     11.88    0.9%
    3      1642     11.94    0.7%
    4      2004     13.51    0.6%
    5      2371     12.29    0.5%
    6      2765     13.44    0.4%
    7      3117     8.757    0.2%
    8      3497     11.65    0.3%
    9      3951     19.76    0.5%
   10      4289      11.7    0.2%
   11      4687     12.79    0.2%
   12      5039     12.58    0.2%
   13      5410     14.63    0.2%
   14      5767     14.21    0.2%
   15      6125     14.76    0.2%
   16      6504     24.32    0.3%
   17      6860     25.56    0.3%
   18      7387     27.93    0.3%
   19      7767     25.21    0.3%
   20      8135     26.56    0.3%

Quality and confidence:
param     error
r         0.515

Model:
Time ~=    492.5
    + r    379.3
              µs

Reads = 4 + (100 * r)
Writes = 2 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_set_storage_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:1)

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

Model:
Time ~=    829.6
    + n    74.27
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     782.5     12.83    1.6%
    1     913.5     14.32    1.5%
    2     985.6     1.613    0.1%
    3      1058     10.74    1.0%
    4      1124       2.4    0.2%
    5      1197     2.398    0.2%
    6      1292      10.2    0.7%
    7      1339      3.43    0.2%
    8      1413     12.77    0.9%
    9      1493     9.276    0.6%
   10      1581     15.46    0.9%
   11      1640     12.63    0.7%
   12      1715     9.647    0.5%
   13      1806     13.65    0.7%
   14      1898     9.138    0.4%
   15      1921      13.9    0.7%
   16      2010     13.65    0.6%

Quality and confidence:
param     error
n         0.307

Model:
Time ~=    823.6
    + n     74.8
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_clear_storage", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=    236.8
    + r    862.7
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     450.1     0.342    0.0%
    1      1272      15.2    1.1%
    2      2036     12.33    0.6%
    3      2853     14.67    0.5%
    4      3687      17.7    0.4%
    5      4518     16.07    0.3%
    6      5398      24.5    0.4%
    7      6186     23.12    0.3%
    8      7053     25.18    0.3%
    9      7917     19.73    0.2%
   10      8772     17.69    0.2%
   11      9697     7.345    0.0%
   12     10540     31.13    0.2%
   13     11390     28.07    0.2%
   14     12280     26.79    0.2%
   15     13150     52.33    0.3%
   16     14000     48.73    0.3%
   17     14900     34.85    0.2%
   18     16020     41.25    0.2%
   19     16930     53.31    0.3%
   20     17810     53.94    0.3%

Quality and confidence:
param     error
r         1.501

Model:
Time ~=    226.6
    + r    867.3
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_get_storage", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=    358.6
    + r    508.8
              µs

Reads = 4 + (100 * r)
Writes = 2 + (0 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     465.9     4.134    0.8%
    1     940.6     12.01    1.2%
    2      1395     8.601    0.6%
    3      1892     12.46    0.6%
    4      2366     8.799    0.3%
    5      2900     7.615    0.2%
    6      3397     10.42    0.3%
    7      3871      24.8    0.6%
    8      4353     21.03    0.4%
    9      4926     15.69    0.3%
   10      5409     25.32    0.4%
   11      5953     21.77    0.3%
   12      6476     29.77    0.4%
   13      6913     13.73    0.1%
   14      7450     34.93    0.4%
   15      7947     22.11    0.2%
   16      8455     18.11    0.2%
   17      9036     41.95    0.4%
   18      9645     38.23    0.3%
   19     10200     41.34    0.4%
   20     10700     47.15    0.4%

Quality and confidence:
param     error
r         0.848

Model:
Time ~=    343.4
    + r    511.8
              µs

Reads = 4 + (100 * r)
Writes = 2 + (0 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_get_storage_per_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)
Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:0)

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

Model:
Time ~=    764.2
    + n    111.8
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     737.5     5.343    0.7%
    1       861     2.989    0.3%
    2     993.9     2.325    0.2%
    3      1106      12.8    1.1%
    4      1199     1.238    0.1%
    5      1331     13.99    1.0%
    6      1447     15.39    1.0%
    7      1551     13.61    0.8%
    8      1674     13.39    0.8%
    9      1767      15.1    0.8%
   10      1892     15.45    0.8%
   11      2000     12.64    0.6%
   12      2100     17.31    0.8%
   13      2208     15.83    0.7%
   14      2328     15.16    0.6%
   15      2437     7.933    0.3%
   16      2548     10.85    0.4%

Quality and confidence:
param     error
n         0.255

Model:
Time ~=    760.9
    + n    112.1
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_transfer", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=    402.2
    + r     4089
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     456.9     1.958    0.4%
    1      4501     15.47    0.3%
    2      8595     34.99    0.4%
    3     12720     69.12    0.5%
    4     16710     18.98    0.1%
    5     20880     30.36    0.1%
    6     24960     42.07    0.1%
    7     28920     36.34    0.1%
    8     32970     65.69    0.1%
    9     37140     58.49    0.1%
   10     41380     50.08    0.1%
   11     45370     66.97    0.1%
   12     49310     55.99    0.1%
   13     53540     45.79    0.0%
   14     57590     81.34    0.1%
   15     61640     90.08    0.1%
   16     65700     50.76    0.0%
   17     69750     95.11    0.1%
   18     74310     114.8    0.1%
   19     79090     102.7    0.1%
   20     82210     54.96    0.0%

Quality and confidence:
param     error
r         2.723

Model:
Time ~=    326.7
    + r     4099
              µs

Reads = 5 + (100 * r)
Writes = 3 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_call", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:1 w:1)
Storage: Contracts CodeStorage (r:1 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=     1133
    + r    38300
              µs

Reads = 5 + (100 * r)
Writes = 2 + (100 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     472.4     6.141    1.2%
    1     40040     36.49    0.0%
    2     79630     66.22    0.0%
    3    119100      46.9    0.0%
    4    159300     64.66    0.0%
    5    199200     59.58    0.0%
    6    230200     31.73    0.0%
    7    268500     53.28    0.0%
    8    306700     124.7    0.0%
    9    345700     210.1    0.0%
   10    383700     187.8    0.0%
   11    421800     117.7    0.0%
   12    460800     108.9    0.0%
   13    498700     144.9    0.0%
   14    537400     96.08    0.0%
   15    575100     152.7    0.0%
   16    613900     143.7    0.0%
   17    652500     221.9    0.0%
   18    691200     159.3    0.0%
   19    728800     194.1    0.0%
   20    768100     215.5    0.0%

Quality and confidence:
param     error
r         20.75

Model:
Time ~=     2843
    + r    38200
              µs

Reads = 5 + (100 * r)
Writes = 2 + (100 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_call_per_transfer_input_output_kb", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:1)
Storage: Contracts ContractInfoOf (r:101 w:101)
Storage: Contracts CodeStorage (r:2 w:0)
Storage: Timestamp Now (r:1 w:0)

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

Model:
Time ~=   137200
    + t        0
    + i       63
    + o    0.016
              µs

Reads = 105 + (1 * t) + (0 * i) + (0 * o)
Writes = 102 + (0 * t) + (0 * i) + (0 * o)

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

Data points distribution:
    t     i     o   mean µs  sigma µs       %
    0  1024   960    201700     69.91    0.0%
    1     0   960      2275     8.977    0.3%
    1    20   960      3613     8.027    0.2%
    1    40   960      4907     10.97    0.2%
    1    60   960      6160     19.93    0.3%
    1    80   960      7473     9.568    0.1%
    1   100   960      8717     9.513    0.1%
    1   120   960     10030     19.02    0.1%
    1   140   960     11280      37.4    0.3%
    1   160   960     12540     21.98    0.1%
    1   180   960     13780     27.33    0.1%
    1   200   960     15050     39.81    0.2%
    1   220   960     16310     22.09    0.1%
    1   240   960     17560     29.32    0.1%
    1   260   960     18810     27.42    0.1%
    1   280   960     20090     28.76    0.1%
    1   300   960     21350     19.68    0.0%
    1   320   960     22600      28.3    0.1%
    1   340   960     23860     33.52    0.1%
    1   360   960     25080     11.67    0.0%
    1   380   960     26410     26.35    0.0%
    1   400   960     27630     23.94    0.0%
    1   420   960     28900     48.23    0.1%
    1   440   960     30140     43.39    0.1%
    1   460   960     31420     24.71    0.0%
    1   480   960     32660     52.31    0.1%
    1   500   960     33930     61.32    0.1%
    1   520   960     35190     73.86    0.2%
    1   540   960     36440     34.85    0.0%
    1   560   960     37680     44.31    0.1%
    1   580   960     38950     35.57    0.0%
    1   600   960     40230     53.24    0.1%
    1   620   960     41420     54.62    0.1%
    1   640   960     42820        43    0.1%
    1   660   960     44000     38.19    0.0%
    1   680   960     45390     44.01    0.0%
    1   700   960     46690     58.45    0.1%
    1   720   960     47800     55.76    0.1%
    1   740   960     49080      57.1    0.1%
    1   760   960     50340     67.12    0.1%
    1   780   960     51580     74.14    0.1%
    1   800   960     52790     85.36    0.1%
    1   820   960     54040      62.4    0.1%
    1   840   960     55330     34.25    0.0%
    1   860   960     56590     67.73    0.1%
    1   880   960     57780     27.28    0.0%
    1   900   960     59090     41.84    0.0%
    1   920   960     60310     58.37    0.0%
    1   940   960     61610     46.72    0.0%
    1   960   960     62910     36.45    0.0%
    1   980   960     64170     55.42    0.0%
    1  1000   960     65440     64.39    0.0%
    1  1020   960     66720     56.33    0.0%
    1  1024     0     66960     59.76    0.0%
    1  1024    19     66900      65.9    0.0%
    1  1024    38     66890     44.16    0.0%
    1  1024    57     66960     52.24    0.0%
    1  1024    76     66890     52.87    0.0%
    1  1024    95     66930     33.56    0.0%
    1  1024   114     66910     40.26    0.0%
    1  1024   133     66890     62.32    0.0%
    1  1024   152     66930     54.69    0.0%
    1  1024   171     66830     32.73    0.0%
    1  1024   190     66920     53.39    0.0%
    1  1024   209     66910     46.69    0.0%
    1  1024   228     66960     37.65    0.0%
   <truncated>...

@athei athei force-pushed the at-storage-deposit branch 3 times, most recently from c355e87 to d36a09f Compare November 6, 2021 18:50
@athei
Copy link
Member Author

athei commented Nov 7, 2021

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Nov 7, 2021

Benchmark Runtime Pallet for branch "at-storage-deposit" with command cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

Results
error: failed to parse manifest at `/home/benchbot/bench-bot/git/substrate/bin/node/cli/Cargo.toml`

Caused by:
  feature `edition2021` is required

  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["edition2021"]` to enable this feature

ERROR: Unable to commit file ./frame/contracts/src/weights.rs

@athei athei added A0-please_review Pull request needs code review. and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels Nov 7, 2021
@athei athei marked this pull request as ready for review November 7, 2021 09:57
Copy link
Member

@ascjones ascjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just more superficial comments, nearly done

frame/contracts/src/storage.rs Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/exec.rs Outdated Show resolved Hide resolved
frame/contracts/src/exec.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/storage/meter.rs Outdated Show resolved Hide resolved
frame/contracts/src/tests.rs Outdated Show resolved Hide resolved
frame/contracts/src/tests.rs Outdated Show resolved Hide resolved
Copy link
Member

@ascjones ascjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@athei
Copy link
Member Author

athei commented Dec 7, 2021

bot merge

@paritytech-processbot paritytech-processbot bot merged commit a1c31a7 into master Dec 7, 2021
Smart Contracts automation moved this from In Progress to Done Dec 7, 2021
@paritytech-processbot paritytech-processbot bot deleted the at-storage-deposit branch December 7, 2021 12:19
ascjones added a commit to use-ink/cargo-contract that referenced this pull request Feb 16, 2022
* WIP display all events

* Clean up and generalize displaying events

* Fix multiple event new lines

* Fmt

* Create wrapper types for Display, derive Debug for originals

* Control indentation of pretty printing

* Indent events display

* More tuning of runtime events pretty printing

* Fmt

* Use Display impls for printing events

* Add DisplayTransferEvent

* Namespace events

* Add CodeStored and Instantiated events

* Refactor Deploy command and use verbosity for events display

* Fix up string message return

* Code hash LowerHex and println after events

* Use LowerHex api for Bytes

* Parse code hash with 0x prefix

* Fmt

* Spawn canvas node for integration test

* Increment attempts

* Get the test running with spawned canvas node

* Instantiate deploy works with manual node

* Test works locally and cleans up temp dir

* Fmt

* Fix duplicate import

* Build before testing so cargo-contract bin available for testing

* Separate line for build

* Extract decode_hex util fn

* WIP failing Literal tests for SS58 account ids

* Upgrade to nom 0.6

* Use nom error in custom error, impl FromStr

* Fmt

* Update lockfile after merge

* Make TryFrom take reference for verbosity conversion

* Fix parsing literals

* Plumbing for custom encoders

* Implement AccountId32 custom encoder

* Refactor: extract env types

* Test for encoding ss58 literal

* Fmt and add back failing struct test

* Use AccountId type in test

* TEMP: Use github dependencies of scale-info and ink

* Err for 256 bit ints

* Use new registry type enumeration

* Extract type lookup and introduce Encoder

* WIP: extract Transcoder and implement env type decoding

* Implement env type decoding, removes generic Input.

Custom env decoders are trait objects so can't have generic type parameters on its decode method.

* Fix AccountId decoding, add some debug logging

* Test for different AccountId aliasing

* Passing tests for AccountId encoding and fmt

* Update scale-info and ink deps, patch ink deps for now

* Update scale-info and ink deps, patch ink deps for now

* Remove extrinsics feature

* Dependencies

* More deps

* Cargo.lock

* Cargo.lock

* WIP upgrading to latest subxt and scale-info

* More upgrading to latest subxt

* Fix more errors

* Fix up extrinsic commands

* Refactor transcoder decode, handle Compact

* Refactor transcoder encode, initial compact support

* Fmt

* Fix metadata file loading

* Constructor arg rename

* Enable tokio

* Make instantiate work

* Update contracts runtime from substrate-contracts-node

* Fix warnings and add todo

* Update subxt

* Add missing import

* Use explicit substrate branch to match subxt import

* Remove sp_rpc dependency

* Remove sp_rpc dependency

* Use metadata to decode events

* Fmt

* Pretty print events

* WIP custom transcoders for events

* Custom transcoders for events working

* Fix some warnings

* Slim down bat dependency

* Decode contract events

* Use correct field for instantiated contract account

* Fix warnings

* Fix multiple line warning

* Update contracts RPC types

* Fmt

* Fix deploy contract account

* Use ink! master branch

* Oops

* Remove patches

* Bump ink deps to rc6

* Update to latest subxt

* Update to latest subxt

* Fix errors after subxt update

* Fix instantiate_with_code.rs

* Update subxt

* Add deserializing context

* Fmt

* Expose public metadata fields

* Implement full metadata decoding

* Cargo.lock

* Update calls to work with storage_gas_limit from paritytech/substrate#10082

* Cargo.lock

* Update to latest subxt

* Fmt

* WIP unify instantiate command

* Fix call command errors

* Main warning unused result

* Call and instantiate warns and errors and fmt

* Update to ink rc7

* Default to local contract wasm if none specified

* Change instantiate endowment to value

* Use latest subxt branch

* Update to latest subxt

* Unify call and instantiate arg names

* Instantiate and call args consistency

* Add todo comment for encoding message args

* Refactor, tidy up call and instantiate

* Display decoded contract event separately

* Register env types with and without aliases

* Add pretty print flag

* WIP add upload

* Wiring up upload code extrinsic

* Download latest contracts node metadata

* Wire up upload command and WIP manifest path

* in! default features and cargo update

* Add manifest path argument for extrinsics

* Only fetch crate metadata once

* Fmt

* Cargo upgrade

* Update substrate dependencies

* Pretty print code upload dry run values

* Extract name value println macro

* Print code hash from upload extrinsic

* Refactor upload code command

* Pretty print instantiate results

* Add salt arg to instantiate command

* WIP custom events display, removes big bat dep

* Extract method for printing RPC contract result

* Ugly printing of events

* Fix contract event decoding

* Fmt

* Pretty print event fields

* Only print event fields if verbose

* More event prettification

* Fmt

* Resolve some todos

* Remove some code comments, moved to follow ups in PR

* Refactor: extract compact encoding function

* Fix storage_deposit_limit and add todo re: compact primitives

* Add todo re: compact primitives

* Cargo.lock

* Use released substrate crates and subxt master

* Fix encoding compact, inline for each uint

* Fix encoding compact, inline for each uint

* Add extrinsics markdown outline

* Dynamic compact encoding

* Replace bitvec todos with errs, added follow up in PR

* Remove todo about friendly encoding error, add to PR follow ups

* Rename codec to scale for test contract, fix some transcoding tests

* Attempt to fix linking with __ink_generate_metadata

* Update to ink rc8

* Add test for out of order composite fields

* Update ink metadata version

* Update ink metadata types and methods

* Fix metadata error message

* Add std feature to fix test compilation with inline contract

* Fix out of order struct fields

* Improve encoding of field error message

* Fmt imports

* Rename TypeLookupId to TypeLookup

* Remove alias matching for custom env type transcoding

* Fix variant encoding for maps and out of order fields

* Add failing test & impl for compact struct transcoding

* Use released version of pallet-contracts primitives

* WIP attempting to fix compact struct transcoding

* Fix compact struct decoding

* Add todo for integration test

* Renamed SconParseError

* Failing test for invalid integer

* Use nom-supreme for combinators, error handling

* Use released subxt

* Refactor integer parsing

* Refactor char parsing

* Refactor seq parsing

* Refactor tuple parsing

* Refactor unit tuple parsing

* Refactor map parsing

* Refactor bytes parsing

* Remove final nom `map` free function usage

* Use some postfix recognizes

* Remove final recognize combinator

* Use postfix value combinator

* Use opt postfix combinator

* Move entry point and top level parser to the top of the file

* Inline some string parsers

* Inline some local helper functions

* Fix failing integer tests

* Fix Rust ident parsing

* Fix up integration test

* Make clippy happy

* Fmt

* Clippy clippy clippy

* Ignore integration test for CI

* Support parsing underscore separators for integer literals

* + sign prefix parses to signed int

* Allow underscores for balance CLI args

* Add helper function for handling runtime errors

* Add helper function for displaying runtime module errors

* Elide lifetime

* Add some basic module level docs for transcoding

* Improve error message where metadata file not found

* Adding common args section to extrinsics.md

* Move --dry-run to extrinisic opts and more docs

* Move --storage-deposit-limit to ExtrinsicOpts, move ExtrinsicOpts to extrinsics.

* Add instantiate docs

* Add call docs

* Update Extrinsics docs

* Update Cargo.toml

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Don't wait for finalization before displaying transaction success

* Update docs/extrinsics.md

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Remove static error detail lookup, since it may be inaccurate if the target chain differs

* CLIPPY

* Print debug message lines

* Display not Debug return value

* Fmt

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
grishasobol pushed a commit to gear-tech/substrate that referenced this pull request Mar 28, 2022
* Frame no longer needs to be mutable (refactoring artifact)

* Remove Contract/Tombstone deposit

* Add StorageMeter

* cargo fmt

* Fix weight annotation

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* Simplify keep check for contract accounts

- Make sure that the "base deposit" for each contract >= ed
- Remove now obsolete checks when sneding away free balance

* Remove unused imports and functions

* Rename storage_limit to storage_deposit_limit

* cargo fmt

* Fix typo

Co-authored-by: Michael Müller <michi@parity.io>

* Finish up rename of storage_limit

* Fix rpc tests

* Make use of `StorageDepositLimitTooHigh`

* Add tests and fix bugs discovered by tests

* Add storage migration

* Don't use u128 in RPC

* Fix weight of migration

* Rename `endowment` to `value`

* Fix bug where contract couldn't get funded by a storage deposit

- Make sure that contract gets funded from deposits before value is transferred
- Don't reserve value at origin because otherwise funding isn't possible
	- Just transfer free balance and reserve it after the transfer
- When refunding make sure that this refund can't dust the contract
	- Can only happen after a runtime upgrade where costs where upped
- Add more tests

* Apply suggestions from code review

Co-authored-by: Andrew Jones <ascjones@gmail.com>

* Remove unused `fn storage_meter`

* Fix copy pasta doc error

* Import `MaxEncodeLen` from codec

* Beautify RPC trait bounds

* Add re-instrument behaviour to dispatchable doc

* Make sure a account won't be destroyed a refund after a slash

* Apply suggestions from code review

Co-authored-by: Andrew Jones <ascjones@gmail.com>

* Update `Storage::write` docs

* Improve doc

* Remove superflous conditional

* Typos

* Remove superflous clone (refactoring artifact)

* Apply suggestions from code review

Co-authored-by: Andrew Jones <ascjones@gmail.com>

Co-authored-by: Parity Bot <admin@parity.io>
Co-authored-by: Michael Müller <michi@parity.io>
Co-authored-by: Andrew Jones <ascjones@gmail.com>
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Frame no longer needs to be mutable (refactoring artifact)

* Remove Contract/Tombstone deposit

* Add StorageMeter

* cargo fmt

* Fix weight annotation

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* Simplify keep check for contract accounts

- Make sure that the "base deposit" for each contract >= ed
- Remove now obsolete checks when sneding away free balance

* Remove unused imports and functions

* Rename storage_limit to storage_deposit_limit

* cargo fmt

* Fix typo

Co-authored-by: Michael Müller <michi@parity.io>

* Finish up rename of storage_limit

* Fix rpc tests

* Make use of `StorageDepositLimitTooHigh`

* Add tests and fix bugs discovered by tests

* Add storage migration

* Don't use u128 in RPC

* Fix weight of migration

* Rename `endowment` to `value`

* Fix bug where contract couldn't get funded by a storage deposit

- Make sure that contract gets funded from deposits before value is transferred
- Don't reserve value at origin because otherwise funding isn't possible
	- Just transfer free balance and reserve it after the transfer
- When refunding make sure that this refund can't dust the contract
	- Can only happen after a runtime upgrade where costs where upped
- Add more tests

* Apply suggestions from code review

Co-authored-by: Andrew Jones <ascjones@gmail.com>

* Remove unused `fn storage_meter`

* Fix copy pasta doc error

* Import `MaxEncodeLen` from codec

* Beautify RPC trait bounds

* Add re-instrument behaviour to dispatchable doc

* Make sure a account won't be destroyed a refund after a slash

* Apply suggestions from code review

Co-authored-by: Andrew Jones <ascjones@gmail.com>

* Update `Storage::write` docs

* Improve doc

* Remove superflous conditional

* Typos

* Remove superflous clone (refactoring artifact)

* Apply suggestions from code review

Co-authored-by: Andrew Jones <ascjones@gmail.com>

Co-authored-by: Parity Bot <admin@parity.io>
Co-authored-by: Michael Müller <michi@parity.io>
Co-authored-by: Andrew Jones <ascjones@gmail.com>
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. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Deposit based storage incentivation for pallet_contracts
4 participants