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

Remove dependency on sandboxing host functions #9592

Merged
2 commits merged into from
Aug 25, 2021
Merged

Remove dependency on sandboxing host functions #9592

2 commits merged into from
Aug 25, 2021

Conversation

athei
Copy link
Member

@athei athei commented Aug 20, 2021

This removes the dependency on sandboxing host functions by embedding wasmi into the runtime. Previously, it did live inside the client and needed said host functions to communicate with the runtime. This is necessary to use pallet_contracts on a parachain because the sandbox host functions are not supported there, yet.

With this PR, the sandbox always uses an embedded (compiled into the runtime) wasmi. The only exception is when the experimental wasmer-sandbox feature is enabled. In this case the host resident execution engine is used (wasmer in this case). Note that this does not work for the native runtime which will always use an embedded wasmi.

@athei athei added A3-in_progress Pull request is in progress. No review needed at this stage. B3-apinoteworthy 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 Aug 20, 2021
@athei
Copy link
Member Author

athei commented Aug 20, 2021

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Aug 20, 2021

Benchmark Runtime Pallet for branch "at-wasmi-runtime" 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
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    3.227
              µs

Reads = 1
Writes = 0
Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    3.227
              µs

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

Model:
Time ~=        0
    + k    2.268
              µs

Reads = 1 + (0 * k)
Writes = 1 + (1 * k)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    k   mean µs  sigma µs       %
    0     57.33     0.387    0.6%
   20     60.08      0.24    0.3%
   40     97.34     0.731    0.7%
   60     131.5     1.032    0.7%
   80     168.1     2.111    1.2%
  100     205.8     1.283    0.6%
  120     244.7     1.345    0.5%
  140     289.9     2.259    0.7%
  160     329.2      2.44    0.7%
  180     378.3     2.473    0.6%
  200     422.7     4.837    1.1%
  220     464.4     3.807    0.8%
  240     499.7      8.43    1.6%
  260     552.2      9.99    1.8%
  280     580.5     3.575    0.6%
  300     629.8     13.45    2.1%
  320     675.5     10.91    1.6%
  340     731.8     11.97    1.6%
  360     762.4     5.447    0.7%
  380     817.5     7.921    0.9%
  400     871.8     3.265    0.3%
  420     898.7     8.143    0.9%
  440     966.3      6.73    0.6%
  460      1012     7.377    0.7%
  480      1062     14.07    1.3%
  500      1099      7.18    0.6%
  520      1149     11.26    0.9%
  540      1208     13.66    1.1%
  560      1234     14.44    1.1%
  580      1293     14.88    1.1%
  600      1336      12.6    0.9%
  620      1382     6.889    0.4%
  640      1432     9.372    0.6%
  660      1485     22.07    1.4%
  680      1523     8.775    0.5%
  700      1584     12.01    0.7%
  720      1613     8.949    0.5%
  740      1678     13.67    0.8%
  760      1710     15.56    0.9%
  780      1756     13.88    0.7%
  800      1812     11.61    0.6%
  820      1840     26.11    1.4%
  840      1907     19.54    1.0%
  860      1936      6.57    0.3%
  880      1995     12.43    0.6%
  900      2045     17.64    0.8%
  920      2065      17.3    0.8%
  940      2089      17.4    0.8%
  960      2171     29.29    1.3%
  980      2188     16.76    0.7%
 1000      2241      21.1    0.9%
 1020      2292     12.69    0.5%

Quality and confidence:
param     error
k         0.003

Model:
Time ~=        0
    + k    2.273
              µ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
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     47.2
    + q     39.8
              µs

Reads = 1 + (0 * q)
Writes = 1 + (0 * q)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    q   mean µs  sigma µs       %
    0     3.393     0.063    1.8%
   20       819     0.572    0.0%
   40      1616     12.81    0.7%
   60      2430     16.77    0.6%
   80      3205     13.25    0.4%
  100      4006     16.87    0.4%
  120      4791     12.89    0.2%
  140      5623     13.11    0.2%
  160      6416     13.28    0.2%
  180      7218     11.88    0.1%
  200      8004     26.87    0.3%
  220      8806     14.84    0.1%
  240      9634      22.1    0.2%
  260     10380     19.82    0.1%
  280     11220     24.53    0.2%
  300     12010     24.37    0.2%
  320     12850     28.27    0.2%
  340     13570     27.03    0.1%
  360     14390     28.01    0.1%
  380     15180     13.16    0.0%
  400     15960     28.16    0.1%
  420     16740     30.63    0.1%
  440     17590     55.33    0.3%
  460     18410     43.67    0.2%
  480     19130     19.28    0.1%
  500     19970     37.25    0.1%
  520     20790     37.22    0.1%
  540     21570     36.41    0.1%
  560     22350     33.34    0.1%
  580     23180     37.11    0.1%
  600     24000     22.81    0.0%
  620     24730     56.89    0.2%
  640     25490     31.45    0.1%
  660     26280     56.06    0.2%
  680     27110     31.06    0.1%
  700     27890     30.62    0.1%
  720     28710     18.18    0.0%
  740     29510     48.71    0.1%
  760     30230     44.23    0.1%
  780     31000      29.6    0.0%
  800     31890     54.56    0.1%
  820     32650     50.14    0.1%
  840     33510     41.33    0.1%
  860     34210     33.68    0.0%
  880     34970     40.71    0.1%
  900     35810     28.02    0.0%
  920     36710     43.15    0.1%
  940     37500      58.3    0.1%
  960     38310     37.65    0.0%
  980     39010     58.46    0.1%
 1000     39890     51.41    0.1%
 1020     40600     44.84    0.1%

Quality and confidence:
param     error
q         0.007

Model:
Time ~=    50.36
    + q    39.79
              µs

Reads = 1 + (0 * q)
Writes = 1 + (0 * q)
Pallet: "pallet_contracts", Extrinsic: "instrument", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    60.46
    + c    76.19
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    c   mean µs  sigma µs       %
    0     64.16     0.127    0.1%
    2     222.2     0.731    0.3%
    4     371.3     0.696    0.1%
    6       508     8.974    1.7%
    8     681.6     15.83    2.3%
   10       816     12.59    1.5%
   12     936.4     4.507    0.4%
   14      1145     14.13    1.2%
   16      1276     16.39    1.2%
   18      1427        14    0.9%
   20      1575     12.02    0.7%
   22      1696     14.25    0.8%
   24      1828     14.75    0.8%
   26      2095     11.73    0.5%
   28      2230     3.526    0.1%
   30      2358     15.03    0.6%
   32      2478     12.69    0.5%
   34      2642     10.39    0.3%
   36      2799     10.23    0.3%
   38      2947     22.24    0.7%
   40      3078     16.81    0.5%
   42      3207     14.08    0.4%
   44      3324     9.471    0.2%
   46      3460     15.04    0.4%
   48      3593     17.03    0.4%
   50      4001      11.2    0.2%
   52      4119     23.16    0.5%
   54      4264     15.89    0.3%
   56      4371     18.42    0.4%
   58      4514     14.72    0.3%
   60      4655     18.37    0.3%
   62      4778      16.1    0.3%
   64      4890     10.69    0.2%
   66      5071      2.11    0.0%
   68      5209     12.55    0.2%
   70      5418     19.95    0.3%
   72      5537     14.17    0.2%
   74      5674     13.08    0.2%
   76      5791     14.39    0.2%
   78      5927     14.22    0.2%
   80      6075     13.57    0.2%
   82      6203     28.96    0.4%
   84      6345     18.89    0.2%
   86      6460     22.23    0.3%
   88      6589     17.62    0.2%
   90      6701     9.425    0.1%
   92      6853     18.11    0.2%
   94      6997     22.46    0.3%
   96      7113     22.28    0.3%
   98      7774     19.06    0.2%
  100      7899     14.55    0.1%
  102      8039     19.52    0.2%
  104      8166     14.29    0.1%
  106      8305        17    0.2%
  108      8443     28.86    0.3%
  110      8572     18.18    0.2%
  112      8689     18.45    0.2%
  114      8833     25.23    0.2%
  116      8945     18.93    0.2%
  118      9135     50.09    0.5%
  120      9198     11.97    0.1%
  122      9345     33.51    0.3%
  124      9491     21.64    0.2%
  126      9611     35.81    0.3%
  128      9740     28.63    0.2%

Quality and confidence:
param     error
c         0.109

Model:
Time ~=    40.03
    + c    76.42
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)
Pallet: "pallet_contracts", Extrinsic: "code_load", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    6.639
    + c    1.667
              µs

Reads = 1 + (0 * c)
Writes = 0 + (0 * c)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    c   mean µs  sigma µs       %
    0     5.899     0.039    0.6%
    2     10.04     0.044    0.4%
    4     13.26     0.118    0.8%
    6     16.83      0.08    0.4%
    8     19.97     0.039    0.1%
   10     23.28     0.185    0.7%
   12     26.83     0.042    0.1%
   14     29.77     0.214    0.7%
   16     33.61     0.185    0.5%
   18     37.37     0.074    0.1%
   20     40.85     0.081    0.1%
   22     44.48     0.079    0.1%
   24     47.85     0.505    1.0%
   26     50.13     0.363    0.7%
   28     53.22     0.066    0.1%
   30     56.58      0.06    0.1%
   32     60.16     0.099    0.1%
   34     63.13     0.084    0.1%
   36     66.56     0.066    0.0%
   38     69.91       0.1    0.1%
   40     73.29     0.145    0.1%
   42     76.53     0.126    0.1%
   44     79.91     0.125    0.1%
   46     83.67     0.133    0.1%
   48     86.49     0.125    0.1%
   50      89.9     0.084    0.0%
   52     93.04     0.077    0.0%
   54     96.48     0.084    0.0%
   56     99.78     0.092    0.0%
   58     103.3     0.052    0.0%
   60     106.8     0.098    0.0%
   62     109.7     0.123    0.1%
   64     113.1     0.138    0.1%
   66     116.7     0.067    0.0%
   68     119.9     0.119    0.0%
   70     123.3     0.171    0.1%
   72     126.6     0.097    0.0%
   74     129.6     0.077    0.0%
   76     132.9     0.164    0.1%
   78     136.1     0.104    0.0%
   80     140.9      1.24    0.8%
   82     143.3     0.096    0.0%
   84     146.8     0.135    0.0%
   86     150.1     0.371    0.2%
   88     153.4     0.124    0.0%
   90     156.8     0.159    0.1%
   92     159.9     0.129    0.0%
   94     163.4      0.15    0.0%
   96     166.6     0.179    0.1%
   98     169.8     0.117    0.0%
  100     173.2     0.217    0.1%
  102     176.6     0.146    0.0%
  104     182.4     7.219    3.9%
  106     183.1     0.165    0.0%
  108     186.8     0.131    0.0%
  110       190     0.117    0.0%
  112     193.4     0.148    0.0%
  114     196.8     0.151    0.0%
  116     200.2     0.202    0.1%
  118     203.3     0.144    0.0%
  120     207.1     0.138    0.0%
  122     210.4     0.148    0.0%
  124     213.6     0.199    0.0%
  126     217.1     0.443    0.2%
  128     220.4     0.102    0.0%

Quality and confidence:
param     error
c         0.001

Model:
Time ~=    6.675
    + c    1.668
              µs

Reads = 1 + (0 * c)
Writes = 0 + (0 * c)
Pallet: "pallet_contracts", Extrinsic: "code_refcount", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     10.8
    + c    2.693
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    c   mean µs  sigma µs       %
    0     9.983     0.062    0.6%
    2     16.05       0.1    0.6%
    4     21.91     0.077    0.3%
    6     27.28     0.146    0.5%
    8     32.47     0.073    0.2%
   10        38     0.091    0.2%
   12     42.47     0.113    0.2%
   14     49.15      0.06    0.1%
   16     54.79     0.065    0.1%
   18     59.33     0.071    0.1%
   20     64.96     0.154    0.2%
   22     70.27     0.079    0.1%
   24     77.31     0.157    0.2%
   26     80.76     0.107    0.1%
   28     86.22     0.181    0.2%
   30     91.47     0.132    0.1%
   32     97.09     0.107    0.1%
   34     102.1     0.145    0.1%
   36     107.4     0.147    0.1%
   38     112.9     0.098    0.0%
   40     118.3      0.09    0.0%
   42     123.7     0.096    0.0%
   44     129.3     0.211    0.1%
   46     134.2      0.21    0.1%
   48     139.8     0.627    0.4%
   50     145.4     0.318    0.2%
   52     150.4     0.152    0.1%
   54       157     0.435    0.2%
   56     161.2     0.298    0.1%
   58     166.6     0.105    0.0%
   60     172.7     0.227    0.1%
   62     178.3     0.121    0.0%
   64     183.3     0.589    0.3%
   66       189     0.342    0.1%
   68       196     4.155    2.1%
   70     199.8      0.16    0.0%
   72     204.7      0.47    0.2%
   74       211     1.973    0.9%
   76     215.5     0.705    0.3%
   78     220.4     0.403    0.1%
   80     225.9     0.103    0.0%
   82     231.3     0.135    0.0%
   84     236.6     0.107    0.0%
   86     242.1     0.197    0.0%
   88     247.9     0.471    0.1%
   90     253.1     0.136    0.0%
   92     258.3     0.174    0.0%
   94     263.8     0.582    0.2%
   96     269.1     0.173    0.0%
   98     274.4     0.078    0.0%
  100     279.8     0.121    0.0%
  102     285.1     0.192    0.0%
  104     290.6     0.117    0.0%
  106     305.2     1.907    0.6%
  108     309.7      1.59    0.5%
  110     316.1     1.547    0.4%
  112     312.2     0.182    0.0%
  114     317.7     0.261    0.0%
  116     323.4     0.739    0.2%
  118     328.7     0.386    0.1%
  120     333.9     0.182    0.0%
  122     339.3     0.287    0.0%
  124     344.8     0.116    0.0%
  126     350.3      0.25    0.0%
  128     355.3     0.344    0.0%

Quality and confidence:
param     error
c         0.002

Model:
Time ~=    10.56
    + c    2.704
              µs

Reads = 1 + (0 * c)
Writes = 1 + (0 * c)
Pallet: "pallet_contracts", Extrinsic: "instantiate_with_code", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=      619
    + c    189.6
    + s    2.264
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 4 + (0 * c) + (0 * s)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    c     s   mean µs  sigma µs       %
    0  1024      2938      19.6    0.6%
    1  1024      3114     1.638    0.0%
    2  1024      3317        13    0.3%
    3  1024      3471     14.01    0.4%
    4  1024      3677     13.38    0.3%
    5  1024      3878     13.07    0.3%
    6  1024      4037     7.195    0.1%
    7  1024      4252     12.82    0.3%
    8  1024      4429     9.096    0.2%
    9  1024      4651      10.8    0.2%
   10  1024      4822     23.98    0.4%
   11  1024      4982     23.59    0.4%
   12  1024      5136     16.25    0.3%
   13  1024      5408     15.48    0.2%
   14  1024      5583     26.45    0.4%
   15  1024      5727     14.49    0.2%
   16  1024      5885     17.73    0.3%
   17  1024      6199     17.18    0.2%
   18  1024      6482     19.54    0.3%
   19  1024      6561     20.68    0.3%
   20  1024      6735     23.51    0.3%
   21  1024      6905     12.16    0.1%
   22  1024      7071     23.66    0.3%
   23  1024      7223     24.26    0.3%
   24  1024      7404     14.49    0.1%
   25  1024      7763     20.33    0.2%
   26  1024      7925     9.305    0.1%
   27  1024      8094     10.49    0.1%
   28  1024      8260     29.23    0.3%
   29  1024      8424     24.65    0.2%
   30  1024      8564     11.72    0.1%
   31  1024      8748     17.46    0.1%
   32  1024      8906     13.42    0.1%
   33  1024      9319     23.73    0.2%
   34  1024      9493     18.94    0.1%
   35  1024      9717     20.26    0.2%
   36  1024      9887      30.1    0.3%
   37  1024     10040     16.62    0.1%
   38  1024     10210     17.84    0.1%
   39  1024     10390      29.9    0.2%
   40  1024     10540     27.83    0.2%
   41  1024     10720     25.43    0.2%
   42  1024     10860     26.29    0.2%
   43  1024     11030     32.89    0.2%
   44  1024     11180     45.94    0.4%
   45  1024     11380     32.59    0.2%
   46  1024     11500     18.41    0.1%
   47  1024     11740     103.7    0.8%
   48  1024     11870     26.75    0.2%
   49  1024     12420     19.52    0.1%
   50  1024     12590     33.32    0.2%
   51  1024     12780     33.96    0.2%
   52  1024     12930     24.25    0.1%
   53  1024     13060     43.39    0.3%
   54  1024     13280      56.7    0.4%
   55  1024     13420     30.38    0.2%
   56  1024     13570     32.04    0.2%
   57  1024     13730     33.97    0.2%
   58  1024     13900     34.49    0.2%
   59  1024     14160     69.57    0.4%
   60  1024     14200     27.71    0.1%
   61  1024     14410     35.26    0.2%
   62  1024     14530     27.57    0.1%
   63  1024     14710     50.44    0.3%
   64     0     12510     27.27    0.2%
   64    20     12600      44.7    0.3%
   64    40     12600     30.37    0.2%
   64    60     12640     28.87    0.2%
   64    80     12690     31.07    0.2%
   64   100     12730     12.84    0.1%
   64   120     12790     27.33    0.2%
   64   140     12810     25.41    0.1%
   64   160     12910      39.4    0.3%
   64   180     12900     12.74    0.0%
   64   200     12920     26.18    0.2%
   64   220     13000     33.64    0.2%
   64   240     13040     26.71    0.2%
   64   260     13110      31.1    0.2%
   64   280     13130     24.36    0.1%
   64   300     13200     25.46    0.1%
   64   320     13240     37.08    0.2%
   64   340     13290     31.39    0.2%
   64   360     13360     42.14    0.3%
   64   380     13360     22.09    0.1%
   64   400     13410     42.18    0.3%
   64   420     13460     23.29    0.1%
   64   440     13510     28.39    0.2%
   64   460     13530     33.49    0.2%
   64   480     13610     38.47    0.2%
   64   500     13630     14.95    0.1%
   64   520     13660     33.61    0.2%
   64   540     13920     27.28    0.1%
   64   560     13820     41.34    0.2%
   64   580     13810     36.17    0.2%
   64   600     13860     33.24    0.2%
   64   620     13930     32.24    0.2%
   64   640     13970     44.26    0.3%
   64   660     14000      40.3    0.2%
   64   680     14050      40.8    0.2%
   64   700     14080     32.78    0.2%
   64   720     14120     26.76    0.1%
   64   740     14190      43.7    0.3%
   64   760     14260     30.37    0.2%
   64   780     14450     138.8    0.9%
   64   800     14320     44.19    0.3%
   64   820     14380     39.52    0.2%
   64   840     14410     32.65    0.2%
   64   860     14410     28.43    0.1%
   64   880     14520     25.45    0.1%
   64   900     14550      39.2    0.2%
   64   920     14570     31.13    0.2%
   64   940     14610     33.66    0.2%
   64   960     14670     33.15    0.2%
   64   980     14740     32.85    0.2%
   64  1000     14780     49.16    0.3%
   64  1020     14810     43.37    0.2%
   64  1024     14850     24.38    0.1%

Quality and confidence:
param     error
c         0.166
s          0.01

Model:
Time ~=    479.5
    + c    187.1
    + s     2.45
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 4 + (0 * c) + (0 * s)
Pallet: "pallet_contracts", Extrinsic: "instantiate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    240.9
    + s    2.224
              µs

Reads = 5 + (0 * s)
Writes = 3 + (0 * s)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    s   mean µs  sigma µs       %
    0     236.7     0.429    0.1%
   20     288.8     0.769    0.2%
   40     327.9     0.667    0.2%
   60     372.7     0.612    0.1%
   80     416.8     0.754    0.1%
  100     462.1     2.128    0.4%
  120     516.2     15.25    2.9%
  140     555.8     10.13    1.8%
  160       593     0.663    0.1%
  180     648.6     14.97    2.3%
  200     681.5     0.622    0.0%
  220     729.4     9.471    1.2%
  240     775.2     8.814    1.1%
  260     822.2     10.67    1.2%
  280     865.8     11.22    1.2%
  300     906.6     8.547    0.9%
  320     950.2     7.904    0.8%
  340      1013     15.84    1.5%
  360      1049     17.35    1.6%
  380      1094      17.3    1.5%
  400      1138     15.74    1.3%
  420      1187     15.53    1.3%
  440      1230     16.62    1.3%
  460      1268     15.38    1.2%
  480      1311     14.19    1.0%
  500      1359     15.73    1.1%
  520      1409      17.7    1.2%
  540      1442     16.29    1.1%
  560      1503     17.35    1.1%
  580      1536        15    0.9%
  600      1595     16.05    1.0%
  620      1630     13.79    0.8%
  640      1662     15.68    0.9%
  660      1716     16.06    0.9%
  680      1764     14.58    0.8%
  700      1806     16.12    0.8%
  720      1835     9.565    0.5%
  740      1912     16.65    0.8%
  760      1959     5.648    0.2%
  780      1995     2.042    0.1%
  800      2037     14.36    0.7%
  820      2086     8.452    0.4%
  840      2122     16.32    0.7%
  860      2170     14.88    0.6%
  880      2211     15.22    0.6%
  900      2267     16.66    0.7%
  920      2305     13.96    0.6%
  940      2351      9.55    0.4%
  960      2408     8.655    0.3%
  980      2443        16    0.6%
 1000      2490     16.01    0.6%
 1020      2527     13.25    0.5%

Quality and confidence:
param     error
s         0.002

Model:
Time ~=    237.6
    + s    2.249
              µs

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

Model:
Time ~=    223.4
              µs

Reads = 4
Writes = 2
Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    223.4
              µs

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

Model:
Time ~=    130.8
    + c    2.838
              µs

Reads = 5 + (0 * c)
Writes = 4 + (0 * c)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    c   mean µs  sigma µs       %
    0       129     0.428    0.3%
    2     136.2     0.457    0.3%
    4     141.9     0.568    0.4%
    6     148.6     1.095    0.7%
    8     151.6     0.513    0.3%
   10     158.4     0.538    0.3%
   12     164.2     1.106    0.6%
   14     171.2     1.169    0.6%
   16     175.7     0.498    0.2%
   18     181.5     0.766    0.4%
   20     187.8     0.749    0.3%
   22     194.9     1.253    0.6%
   24     198.7     0.432    0.2%
   26     205.2     0.738    0.3%
   28     211.7      1.25    0.5%
   30     216.9      1.42    0.6%
   32     221.5      0.55    0.2%
   34     228.8     5.914    2.5%
   36     233.8     0.507    0.2%
   38     239.7     0.607    0.2%
   40     244.1     1.126    0.4%
   42     249.5     1.238    0.4%
   44     255.6     0.721    0.2%
   46     262.2     1.075    0.4%
   48     266.9     1.121    0.4%
   50     275.8     4.687    1.6%
   52     277.8     0.908    0.3%
   54     284.7     1.419    0.4%
   56     289.2     0.865    0.2%
   58     297.1     2.817    0.9%
   60     300.6     0.715    0.2%
   62     307.6     2.181    0.7%
   64     312.4      1.48    0.4%
   66       319     1.192    0.3%
   68     323.4     2.422    0.7%
   70     329.3     6.418    1.9%
   72     338.8     9.179    2.7%
   74     339.7     1.079    0.3%
   76     348.2      4.74    1.3%
   78     352.6     1.764    0.5%
   80       360     3.024    0.8%
   82     366.5     5.614    1.5%
   84     369.1     1.172    0.3%
   86     374.6     0.712    0.1%
   88     381.7     1.169    0.3%
   90     387.6     6.128    1.5%
   92     393.9      2.56    0.6%
   94     398.5     1.971    0.4%
   96     407.1     5.686    1.3%
   98     411.5     5.152    1.2%
  100     415.7     1.358    0.3%
  102     423.2     2.097    0.4%
  104     428.6     3.639    0.8%
  106     433.3     1.106    0.2%
  108     438.8     2.971    0.6%
  110     445.1     6.144    1.3%
  112     446.6     1.318    0.2%
  114     454.3     4.692    1.0%
  116     461.1     7.013    1.5%
  118     467.3     4.287    0.9%
  120     469.9     2.837    0.6%
  122     476.3     1.411    0.2%
  124     482.5     1.864    0.3%
  126     489.3     1.127    0.2%
  128     496.1     1.907    0.3%

Quality and confidence:
param     error
c         0.003

Model:
Time ~=    130.7
    + c     2.85
              µs

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

Model:
Time ~=    497.8
    + r    136.4
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.5     0.309    0.0%
    1     636.6      3.71    0.5%
    2     763.9     10.59    1.3%
    3     907.1     15.08    1.6%
    4      1046     16.02    1.5%
    5      1169      13.7    1.1%
    6      1303     13.48    1.0%
    7      1458     13.07    0.8%
    8      1588     15.13    0.9%
    9      1726     15.12    0.8%
   10      1865     12.77    0.6%
   11      1987     15.87    0.7%
   12      2128     11.92    0.5%
   13      2272     8.671    0.3%
   14      2430     5.208    0.2%
   15      2564     9.022    0.3%
   16      2694     16.01    0.5%
   17      2819     9.884    0.3%
   18      2949     9.747    0.3%
   19      3081     9.049    0.2%
   20      3221     13.06    0.4%

Quality and confidence:
param     error
r         0.174

Model:
Time ~=    492.5
    + r    136.9
              µs

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

Model:
Time ~=    488.4
    + r    137.3
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.1     0.208    0.0%
    1     629.5     13.51    2.1%
    2     763.3     8.663    1.1%
    3     895.7     9.725    1.0%
    4      1032     2.379    0.2%
    5      1178     15.87    1.3%
    6      1304      10.8    0.8%
    7      1468     16.34    1.1%
    8      1604     15.36    0.9%
    9      1731     15.07    0.8%
   10      1868     12.95    0.6%
   11      2005     14.63    0.7%
   12      2126      17.3    0.8%
   13      2270     8.671    0.3%
   14      2411     6.966    0.2%
   15      2568     13.22    0.5%
   16      2698     12.97    0.4%
   17      2836     7.261    0.2%
   18      2968     10.79    0.3%
   19      3106     8.543    0.2%
   20      3232     10.19    0.3%

Quality and confidence:
param     error
r         0.165

Model:
Time ~=    487.6
    + r    137.8
              µs

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

Model:
Time ~=    490.7
    + r    136.7
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.4     0.278    0.0%
    1     621.2      1.44    0.2%
    2     762.6      4.63    0.6%
    3     902.7     13.87    1.5%
    4      1034     5.778    0.5%
    5      1177     8.173    0.6%
    6      1307     11.54    0.8%
    7      1461     12.21    0.8%
    8      1596     5.464    0.3%
    9      1714     19.32    1.1%
   10      1857     4.425    0.2%
   11      1990     10.51    0.5%
   12      2121     13.75    0.6%
   13      2263     9.673    0.4%
   14      2409     13.14    0.5%
   15      2577     15.51    0.6%
   16      2705     8.783    0.3%
   17      2821     14.13    0.5%
   18      2948     22.06    0.7%
   19      3088     16.81    0.5%
   20      3204     11.22    0.3%

Quality and confidence:
param     error
r         0.195

Model:
Time ~=    488.9
    + r      137
              µs

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

Model:
Time ~=    500.8
    + r    392.2
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       482     0.779    0.1%
    1     884.7     9.624    1.0%
    2      1288     12.75    0.9%
    3      1681     11.64    0.6%
    4      2073     11.14    0.5%
    5      2459     12.14    0.4%
    6      2856     9.171    0.3%
    7      3258     11.48    0.3%
    8      3647     7.587    0.2%
    9      4040     11.32    0.2%
   10      4426     8.779    0.1%
   11      4806     21.92    0.4%
   12      5198     13.53    0.2%
   13      5574     13.05    0.2%
   14      6017     19.66    0.3%
   15      6401     9.927    0.1%
   16      6783     15.64    0.2%
   17      7170     16.47    0.2%
   18      7570     19.44    0.2%
   19      7937        14    0.1%
   20      8332      18.1    0.2%

Quality and confidence:
param     error
r         0.208

Model:
Time ~=      500
    + r    392.3
              µs

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

Model:
Time ~=    494.2
    + r    136.9
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       482     1.916    0.3%
    1     621.8     0.718    0.1%
    2     766.1     5.926    0.7%
    3     911.4     13.37    1.4%
    4      1036      8.01    0.7%
    5      1175     12.77    1.0%
    6      1303      11.8    0.9%
    7      1459     14.18    0.9%
    8      1596     3.787    0.2%
    9      1730     2.916    0.1%
   10      1864     8.399    0.4%
   11      2007     8.957    0.4%
   12      2133     3.573    0.1%
   13      2268     6.558    0.2%
   14      2431      7.77    0.3%
   15      2565     9.145    0.3%
   16      2686     20.59    0.7%
   17      2819     12.25    0.4%
   18      2954     10.95    0.3%
   19      3084      14.5    0.4%
   20      3220     14.14    0.4%

Quality and confidence:
param     error
r         0.156

Model:
Time ~=      492
    + r      137
              µs

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

Model:
Time ~=    497.7
    + r    137.3
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       485     6.186    1.2%
    1     629.1     11.64    1.8%
    2     768.2     6.012    0.7%
    3     897.3     5.166    0.5%
    4      1048     8.314    0.7%
    5      1183     6.246    0.5%
    6      1324     5.627    0.4%
    7      1469     4.422    0.3%
    8      1607     4.363    0.2%
    9      1741     9.147    0.5%
   10      1875     11.46    0.6%
   11      2004     4.412    0.2%
   12      2140     8.239    0.3%
   13      2271     9.597    0.4%
   14      2434     9.438    0.3%
   15      2572     12.19    0.4%
   16      2694     9.174    0.3%
   17      2830     15.37    0.5%
   18      2982     10.75    0.3%
   19      3089     13.15    0.4%
   20      3224     15.43    0.4%

Quality and confidence:
param     error
r         0.159

Model:
Time ~=    496.5
    + r    137.3
              µs

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

Model:
Time ~=    494.4
    + r    137.2
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     484.5     7.271    1.5%
    1     623.2     3.378    0.5%
    2     767.6     6.016    0.7%
    3     899.6     2.785    0.3%
    4      1048     6.141    0.5%
    5      1182     8.567    0.7%
    6      1305     11.04    0.8%
    7      1470     5.831    0.3%
    8      1602     2.285    0.1%
    9      1726      11.8    0.6%
   10      1864     11.11    0.5%
   11      2000     8.393    0.4%
   12      2128     9.611    0.4%
   13      2280     11.58    0.5%
   14      2441      14.2    0.5%
   15      2575     17.83    0.6%
   16      2692      9.29    0.3%
   17      2829     12.78    0.4%
   18      2967     13.48    0.4%
   19      3099      13.2    0.4%
   20      3226     9.735    0.3%

Quality and confidence:
param     error
r         0.163

Model:
Time ~=    491.5
    + r    137.5
              µs

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

Model:
Time ~=    492.9
    + r    137.2
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.1     0.214    0.0%
    1     625.2     5.795    0.9%
    2       763     4.574    0.5%
    3     895.7     5.614    0.6%
    4      1042     9.355    0.8%
    5      1170     10.42    0.8%
    6      1316     9.468    0.7%
    7      1464     12.65    0.8%
    8      1602      5.61    0.3%
    9      1736     5.609    0.3%
   10      1870     5.027    0.2%
   11      2006     5.964    0.2%
   12      2130     12.35    0.5%
   13      2277     9.254    0.4%
   14      2430     6.452    0.2%
   15      2562     9.422    0.3%
   16      2694      11.7    0.4%
   17      2837     11.54    0.4%
   18      2950     10.42    0.3%
   19      3081      12.4    0.4%
   20      3232     13.21    0.4%

Quality and confidence:
param     error
r          0.15

Model:
Time ~=    491.4
    + r    137.4
              µs

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

Model:
Time ~=    490.3
    + r    136.1
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.5     0.331    0.0%
    1     628.1     11.68    1.8%
    2     770.8      12.1    1.5%
    3     891.3     5.338    0.5%
    4      1031     6.373    0.6%
    5      1172     10.62    0.9%
    6      1300     7.834    0.6%
    7      1453     11.51    0.7%
    8      1587     10.72    0.6%
    9      1722     11.67    0.6%
   10      1857     10.64    0.5%
   11      1978     14.15    0.7%
   12      2117     8.791    0.4%
   13      2251     9.076    0.4%
   14      2427     14.88    0.6%
   15      2528     11.96    0.4%
   16      2686     8.735    0.3%
   17      2801     10.51    0.3%
   18      2938     15.46    0.5%
   19      3090     13.41    0.4%
   20      3216     17.18    0.5%

Quality and confidence:
param     error
r          0.17

Model:
Time ~=    488.3
    + r    136.5
              µs

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

Model:
Time ~=    492.4
    + r    137.1
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       481     0.337    0.0%
    1     627.8     10.06    1.6%
    2     770.4     6.605    0.8%
    3     900.1     2.639    0.2%
    4      1038     2.067    0.1%
    5      1181       7.4    0.6%
    6      1312     3.795    0.2%
    7      1471        10    0.6%
    8      1625     14.13    0.8%
    9      1734     4.835    0.2%
   10      1863     4.221    0.2%
   11      2002     8.478    0.4%
   12      2125     6.747    0.3%
   13      2265     6.376    0.2%
   14      2423     9.093    0.3%
   15      2576     13.33    0.5%
   16      2688     8.976    0.3%
   17      2827     17.77    0.6%
   18      2970     11.13    0.3%
   19      3090     12.64    0.4%
   20      3222     12.61    0.3%

Quality and confidence:
param     error
r         0.175

Model:
Time ~=    494.8
    + r    137.1
              µs

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

Model:
Time ~=    501.2
    + r    323.3
              µs

Reads = 5 + (0 * r)
Writes = 1 + (0 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     482.5     1.581    0.3%
    1     817.6     6.937    0.8%
    2      1148     14.56    1.2%
    3      1475     13.75    0.9%
    4      1781     11.07    0.6%
    5      2130     12.86    0.6%
    6      2454     6.694    0.2%
    7      2769     6.238    0.2%
    8      3083     11.76    0.3%
    9      3403     12.63    0.3%
   10      3718     8.251    0.2%
   11      4057     10.49    0.2%
   12      4383     13.56    0.3%
   13      4706     11.99    0.2%
   14      5036     22.67    0.4%
   15      5346      27.9    0.5%
   16      5660     16.94    0.2%
   17      5999     20.55    0.3%
   18      6331     12.08    0.1%
   19      6636     15.65    0.2%
   20      6971     12.17    0.1%

Quality and confidence:
param     error
r         0.191

Model:
Time ~=    497.5
    + r    323.5
              µs

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

Model:
Time ~=    179.7
    + r    61.64
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     174.4     0.366    0.2%
    1     239.5     0.324    0.1%
    2     300.2     0.262    0.0%
    3     365.6     0.749    0.2%
    4     432.2     10.74    2.4%
    5     486.8     0.633    0.1%
    6     556.5     10.31    1.8%
    7     611.3     0.825    0.1%
    8     670.4     2.032    0.3%
    9     734.1     9.401    1.2%
   10       794      10.4    1.3%
   11     870.6     11.32    1.3%
   12     931.9     11.27    1.2%
   13      1000     10.87    1.0%
   14      1058     10.15    0.9%
   15      1101     2.642    0.2%
   16      1163     9.129    0.7%
   17      1220     3.236    0.2%
   18      1285     9.559    0.7%
   19      1362     14.59    1.0%
   20      1422     11.05    0.7%

Quality and confidence:
param     error
r         0.124

Model:
Time ~=      179
    + r    62.01
              µs

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

Model:
Time ~=    480.9
    + r    3.233
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     480.9      0.33    0.0%
    1     484.1     0.436    0.0%

Quality and confidence:
param     error
r         0.182

Model:
Time ~=    480.9
    + r    3.254
              µs

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

Model:
Time ~=    486.7
    + n    1.202
              µs

Reads = 4 + (0 * n)
Writes = 1 + (0 * n)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    0     484.3     0.322    0.0%
   20     517.9     6.501    1.2%
   40     545.4     0.479    0.0%
   60     570.3     1.437    0.2%
   80     594.5     0.546    0.0%
  100     605.7     0.329    0.0%
  120     633.9     9.095    1.4%
  140     660.4     9.337    1.4%
  160     678.5     2.126    0.3%
  180     701.7     0.251    0.0%
  200     733.1     13.54    1.8%
  220     750.5     2.613    0.3%
  240     777.4     9.014    1.1%
  260       806     11.67    1.4%
  280     825.4     7.826    0.9%
  300     845.6     0.336    0.0%
  320     870.1     1.426    0.1%
  340     895.1     5.982    0.6%
  360     934.4     15.32    1.6%
  380     956.7     14.31    1.4%
  400     981.4     13.62    1.3%
  420      1004     14.79    1.4%
  440      1024     13.51    1.3%
  460      1049     13.51    1.2%
  480      1068     11.68    1.0%
  500      1089     8.106    0.7%
  520      1117     13.82    1.2%
  540      1153     15.51    1.3%
  560      1175     17.78    1.5%
  580      1188     13.02    1.0%
  600      1212     13.68    1.1%
  620      1237     13.85    1.1%
  640      1275     16.74    1.3%
  660      1278     1.415    0.1%
  680      1310     11.18    0.8%
  700      1332     11.17    0.8%
  720      1366     14.27    1.0%
  740      1386     12.58    0.9%
  760      1422     16.17    1.1%
  780      1434     15.85    1.1%
  800      1459     13.73    0.9%
  820      1485     14.96    1.0%
  840      1512     14.61    0.9%
  860      1524     11.21    0.7%
  880      1560      17.4    1.1%
  900      1584     15.93    1.0%
  920      1600        14    0.8%
  940      1631     15.98    0.9%
  960      1665     9.022    0.5%
  980      1696     3.954    0.2%
 1000      1708     14.89    0.8%
 1020      1738     13.38    0.7%

Quality and confidence:
param     error
n         0.001

Model:
Time ~=    487.9
    + n    1.218
              µs

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

Model:
Time ~=    470.7
    + r    2.111
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     470.9     0.825    0.1%
    1     473.4      1.86    0.3%

Quality and confidence:
param     error
r         0.678

Model:
Time ~=    470.9
    + r    2.506
              µs

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

Model:
Time ~=    473.5
    + n    0.742
              µs

Reads = 4 + (0 * n)
Writes = 1 + (0 * n)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    0     472.4     0.318    0.0%
   20     488.2     0.223    0.0%
   40     510.9     6.389    1.2%
   60     520.2     6.198    1.1%
   80     540.5     11.51    2.1%
  100     559.2     12.61    2.2%
  120     577.1     15.48    2.6%
  140     588.2      14.9    2.5%
  160     592.2     0.304    0.0%
  180     622.9     13.29    2.1%
  200     624.3     6.599    1.0%
  220     641.8     10.75    1.6%
  240     658.3     14.13    2.1%
  260     669.2     8.143    1.2%
  280     681.3     0.456    0.0%
  300     706.6     16.55    2.3%
  320     711.1     0.785    0.1%
  340     740.1     14.78    1.9%
  360     745.2     9.711    1.3%
  380     762.9      9.49    1.2%
  400     771.7     4.339    0.5%
  420       795     15.74    1.9%
  440     807.8     14.92    1.8%
  460     821.1     12.29    1.4%
  480     835.1     9.195    1.1%
  500     858.4     13.96    1.6%
  520     865.5     9.525    1.1%
  540     880.2     11.61    1.3%
  560     902.8     15.04    1.6%
  580       912     12.13    1.3%
  600     927.2     14.78    1.5%
  620     948.5     14.85    1.5%
  640     960.1     15.87    1.6%
  660     981.6     15.95    1.6%
  680     987.9     14.36    1.4%
  700     996.8     10.71    1.0%
  720      1023     15.34    1.4%
  740      1032     14.84    1.4%
  760      1044     14.01    1.3%
  780      1070      17.7    1.6%
  800      1087     17.13    1.5%
  820      1091     15.71    1.4%
  840      1101     10.61    0.9%
  860      1131     16.66    1.4%
  880      1132     11.63    1.0%
  900      1151      14.8    1.2%
  920      1173      14.2    1.2%
  940      1177     10.92    0.9%
  960      1193      13.5    1.1%
  980      1221     19.25    1.5%
 1000      1218     9.167    0.7%
 1020      1235     8.944    0.7%

Quality and confidence:
param     error
n         0.001

Model:
Time ~=    478.6
    + n    0.749
              µs

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

Model:
Time ~=    481.4
    + r    85.09
              µs

Reads = 4 + (2 * r)
Writes = 1 + (4 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.9       1.5    0.3%
    1     566.6     0.318    0.0%

Quality and confidence:
param     error
r         0.511

Model:
Time ~=    481.9
    + r    84.72
              µs

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

Model:
Time ~=    514.6
    + r    93.67
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     514.2     0.748    0.1%
    1       608     1.155    0.1%

Quality and confidence:
param     error
r         0.458

Model:
Time ~=    514.2
    + r    93.76
              µs

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

Model:
Time ~=    338.4
    + d     2431
              µs

Reads = 7 + (100 * d)
Writes = 7 + (100 * d)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    d   mean µs  sigma µs       %
    0     641.2       5.3    0.8%
    1      2899     12.55    0.4%
    2      5253     13.59    0.2%
    3      7631     27.99    0.3%
    4     10040     27.47    0.2%
    5     12460     27.08    0.2%
    6     14850     41.05    0.2%
    7     17280     32.43    0.1%
    8     19680     53.97    0.2%
    9     22130     40.57    0.1%
   10     24530     46.87    0.1%
   11     26940     69.58    0.2%
   12     29350     50.77    0.1%
   13     31810     60.75    0.1%
   14     34320     53.07    0.1%
   15     36760     60.01    0.1%
   16     39230     70.84    0.1%
   17     41680     53.09    0.1%
   18     44340     63.63    0.1%
   19     46830     51.47    0.1%
   20     49280     73.92    0.1%

Quality and confidence:
param     error
d         1.783

Model:
Time ~=    313.5
    + d     2435
              µs

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

Model:
Time ~=    487.2
    + r    443.2
              µs

Reads = 5 + (0 * r)
Writes = 1 + (0 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.9     0.426    0.0%
    1     934.5     13.13    1.4%
    2      1379     14.94    1.0%
    3      1821     16.85    0.9%
    4      2258     11.58    0.5%
    5      2707     11.29    0.4%
    6      3149     10.49    0.3%
    7      3592     6.038    0.1%
    8      4032      8.71    0.2%
    9      4507     10.02    0.2%
   10      4918     8.692    0.1%
   11      5365        16    0.2%
   12      5796     12.91    0.2%
   13      6239     16.62    0.2%
   14      6673     11.42    0.1%
   15      7105     11.03    0.1%
   16      7536     8.945    0.1%
   17      8053      15.7    0.1%
   18      8513     27.62    0.3%
   19      8950     17.03    0.1%
   20      9373     13.19    0.1%

Quality and confidence:
param     error
r         0.285

Model:
Time ~=      484
    + r    443.9
              µs

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

Model:
Time ~=      494
    + r    733.2
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     474.3     8.728    1.8%
    1      1227     11.53    0.9%
    2      1959     4.393    0.2%
    3      2746     9.502    0.3%
    4      3440     12.69    0.3%
    5      4162     11.46    0.2%
    6      4889     15.76    0.3%
    7      5614     13.12    0.2%
    8      6363     21.04    0.3%
    9      7093     17.23    0.2%
   10      7826     8.973    0.1%
   11      8572     25.41    0.2%
   12      9320     26.78    0.2%
   13     10000     42.92    0.4%
   14     10720     18.66    0.1%
   15     11450     18.63    0.1%
   16     12220     16.27    0.1%
   17     12950     34.72    0.2%
   18     13730     28.96    0.2%
   19     14480     32.31    0.2%
   20     15180     40.48    0.2%

Quality and confidence:
param     error
r         0.386

Model:
Time ~=    491.5
    + r    733.9
              µs

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

Model:
Time ~=     1370
    + t    523.2
    + n    194.8
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 1 + (100 * t) + (0 * n)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    t     n   mean µs  sigma µs       %
    0    16      4397     16.54    0.3%
    1    16      5055     16.42    0.3%
    2    16      5564     16.55    0.2%
    3    16      6080     28.19    0.4%
    4     0      3424     12.01    0.3%
    4     1      3648     8.693    0.2%
    4     2      3821     11.06    0.2%
    4     3      4048     13.89    0.3%
    4     4      4225     9.969    0.2%
    4     5      4412     13.74    0.3%
    4     6      4578     16.42    0.3%
    4     7      4788     13.98    0.2%
    4     8      4947     11.27    0.2%
    4     9      5161     12.55    0.2%
    4    10      5383     22.99    0.4%
    4    11      5566     20.64    0.3%
    4    12      5798      13.3    0.2%
    4    13      5968     8.327    0.1%
    4    14      6151     16.83    0.2%
    4    15      6367     16.32    0.2%
    4    16      6553     17.51    0.2%

Quality and confidence:
param     error
t         2.458
n         0.484

Model:
Time ~=     1342
    + t    521.4
    + n    195.7
              µs

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

Model:
Time ~=    211.9
    + r    92.69
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     209.7      1.99    0.9%
    1     303.9       0.2    0.0%
    2     397.7     0.767    0.1%
    3     486.7     1.864    0.3%
    4     584.1     7.903    1.3%
    5     676.6     10.74    1.5%
    6     760.2     8.082    1.0%
    7     870.1     9.084    1.0%
    8     963.3      14.5    1.5%
    9      1048     11.71    1.1%
   10      1144     16.77    1.4%
   11      1232     15.89    1.2%
   12      1324     15.78    1.1%
   13      1400     8.421    0.6%
   14      1531      14.7    0.9%
   15      1617     16.31    1.0%
   16      1707     15.16    0.8%
   17      1794     12.62    0.7%
   18      1892     12.05    0.6%
   19      1988     6.058    0.3%
   20      2063     10.95    0.5%

Quality and confidence:
param     error
r         0.157

Model:
Time ~=    209.8
    + r    93.28
              µs

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

Model:
Time ~=    201.6
    + r    78.69
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     197.4     0.286    0.1%
    1     280.2     0.364    0.1%
    2     358.4     0.193    0.0%
    3     439.3     0.402    0.0%
    4     514.2      0.96    0.1%
    5     592.5     7.068    1.1%
    6     677.6     5.329    0.7%
    7     757.5     11.68    1.5%
    8     825.6     6.003    0.7%
    9     897.8     1.393    0.1%
   10     972.8     4.201    0.4%
   11      1089     14.52    1.3%
   12      1162     10.69    0.9%
   13      1233     12.04    0.9%
   14      1308     11.34    0.8%
   15      1388     11.49    0.8%
   16      1453     10.39    0.7%
   17      1547     8.094    0.5%
   18      1632     14.94    0.9%
   19      1701     15.89    0.9%
   20      1765     2.896    0.1%

Quality and confidence:
param     error
r         0.145

Model:
Time ~=      200
    + r    79.03
              µs

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

Model:
Time ~=    494.6
    + r    405.1
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     481.9     0.401    0.0%
    1     931.3     2.043    0.2%
    2      1334     12.29    0.9%
    3      1726      13.7    0.7%
    4      2105     13.89    0.6%
    5      2487     8.874    0.3%
    6      2912     9.848    0.3%
    7      3291     10.51    0.3%
    8      3680     10.03    0.2%
    9      4157     9.321    0.2%
   10      4541     11.89    0.2%
   11      4994     17.83    0.3%
   12      5380     25.51    0.4%
   13      5732     11.99    0.2%
   14      6159     15.58    0.2%
   15      6516     18.15    0.2%
   16      6904     10.85    0.1%
   17      7289     24.81    0.3%
   18      7873     17.02    0.2%
   19      8385     49.43    0.5%
   20      8659     29.27    0.3%

Quality and confidence:
param     error
r         0.709

Model:
Time ~=    477.2
    + r    407.2
              µs

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

Model:
Time ~=    836.6
    + n    86.94
              µs

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     798.3     5.276    0.6%
    1     917.1     1.842    0.2%
    2      1017     7.087    0.6%
    3      1100     4.212    0.3%
    4      1186     8.105    0.6%
    5      1276     13.01    1.0%
    6      1354     9.278    0.6%
    7      1454     15.61    1.0%
    8      1531      1.43    0.0%
    9      1621     2.422    0.1%
   10      1708     14.73    0.8%
   11      1797     12.61    0.7%
   12      1882     11.89    0.6%
   13      1982     12.89    0.6%
   14      2047     17.09    0.8%
   15      2114     14.07    0.6%
   16      2221     14.92    0.6%

Quality and confidence:
param     error
n         0.262

Model:
Time ~=    832.5
    + n    87.21
              µs

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

Model:
Time ~=    206.2
    + r    900.9
              µs

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       488     9.952    2.0%
    1      1267     9.966    0.7%
    2      2091     13.95    0.6%
    3      2932     12.12    0.4%
    4      3791     18.51    0.4%
    5      4672     21.39    0.4%
    6      5548     18.22    0.3%
    7      6395     22.58    0.3%
    8      7330     29.78    0.4%
    9      8250     19.58    0.2%
   10      9152     45.18    0.4%
   11     10060     15.37    0.1%
   12     10990     50.49    0.4%
   13     11870     40.05    0.3%
   14     12770     37.35    0.2%
   15     13660     39.46    0.2%
   16     14590     22.69    0.1%
   17     15500     50.09    0.3%
   18     16710     40.08    0.2%
   19     17620     45.59    0.2%
   20     18530     57.56    0.3%

Quality and confidence:
param     error
r          1.61

Model:
Time ~=    199.6
    + r    905.1
              µs

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

Model:
Time ~=      347
    + r    543.5
              µs

Reads = 4 + (100 * r)
Writes = 1 + (0 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     482.2     0.603    0.1%
    1     963.9     4.385    0.4%
    2      1469      9.71    0.6%
    3      1988     13.23    0.6%
    4      2492     10.49    0.4%
    5      3040     11.54    0.3%
    6      3575     15.57    0.4%
    7      4095     15.03    0.3%
    8      4599     21.54    0.4%
    9      5210     19.02    0.3%
   10      5728     13.36    0.2%
   11      6317     22.93    0.3%
   12      6877     30.49    0.4%
   13      7392     32.48    0.4%
   14      7862     25.62    0.3%
   15      8441     33.88    0.4%
   16      9080     49.34    0.5%
   17      9589     32.99    0.3%
   18     10240     45.18    0.4%
   19     10820     56.54    0.5%
   20     11360     33.69    0.2%

Quality and confidence:
param     error
r         0.885

Model:
Time ~=      335
    + r    545.7
              µs

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

Model:
Time ~=    804.6
    + n    132.9
              µs

Reads = 5 + (0 * n)
Writes = 1 + (0 * n)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    n   mean µs  sigma µs       %
    0     773.1     4.676    0.6%
    1     925.5     1.658    0.1%
    2      1081     14.79    1.3%
    3      1219     13.89    1.1%
    4      1347     14.36    1.0%
    5      1491     4.847    0.3%
    6      1611     11.64    0.7%
    7      1733     12.53    0.7%
    8      1864        14    0.7%
    9      1989     11.32    0.5%
   10      2124     10.89    0.5%
   11      2255     14.16    0.6%
   12      2385     14.42    0.6%
   13      2527     12.58    0.4%
   14      2652     15.41    0.5%
   15      2796     3.562    0.1%
   16      2983     6.614    0.2%

Quality and confidence:
param     error
n         0.337

Model:
Time ~=    800.5
    + n    133.4
              µs

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

Model:
Time ~=    347.6
    + r     4746
              µs

Reads = 4 + (100 * r)
Writes = 2 + (100 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     488.1     1.658    0.3%
    1      5163     11.64    0.2%
    2      9846     14.43    0.1%
    3     14570     27.81    0.1%
    4     19360     35.44    0.1%
    5     24020     41.21    0.1%
    6     28690     23.78    0.0%
    7     33460     49.49    0.1%
    8     38130     56.81    0.1%
    9     42860     38.55    0.0%
   10     47730     45.54    0.0%
   11     52630     45.17    0.0%
   12     57490     49.05    0.0%
   13     62080     71.96    0.1%
   14     66530     51.31    0.0%
   15     71600     78.26    0.1%
   16     76090     77.57    0.1%
   17     81170     57.31    0.0%
   18     86000     29.39    0.0%
   19     90640     95.34    0.1%
   20     95240     57.72    0.0%

Quality and confidence:
param     error
r         1.627

Model:
Time ~=    317.5
    + r     4748
              µs

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

Model:
Time ~=    121.3
    + r    46920
              µs

Reads = 5 + (200 * r)
Writes = 1 + (100 * r)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    r   mean µs  sigma µs       %
    0     488.2     0.515    0.1%
    1     47280     75.84    0.1%
    2     93940      77.4    0.0%
    3    140800     96.92    0.0%
    4    187400     367.4    0.1%
    5    234300     432.7    0.1%
    6    281400     172.7    0.0%
    7    328500     192.2    0.0%
    8    375000     204.1    0.0%
    9    422100     221.5    0.0%
   10    468600     614.3    0.1%
   11    515600       527    0.1%
   12    562200     573.3    0.1%
   13    610500     402.8    0.0%
   14    656900     579.3    0.0%
   15    703700     668.1    0.0%
   16    750400      1247    0.1%
   17    797500      1019    0.1%
   18    846100     654.1    0.0%
   19    892600     794.2    0.0%
   20    939100       915    0.0%

Quality and confidence:
param     error
r         8.848

Model:
Time ~=        0
    + r    46940
              µs

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

Model:
Time ~=    47470
    + t     3609
    + i     75.4
    + o    121.4
              µs

Reads = 205 + (0 * t) + (0 * i) + (0 * o)
Writes = 101 + (101 * t) + (0 * i) + (0 * o)
Min Squares Analysis
========
-- Extrinsic Time --

Data points distribution:
    t     i     o   mean µs  sigma µs       %
    0  1024   960    241200     90.24    0.0%
    1     0   960    167700     67.96    0.0%
    1    20   960    169200     87.55    0.0%
    1    40   960    170700     19.96    0.0%
    1    60   960    172300     117.3    0.0%
    1    80   960    173700     87.38    0.0%
    1   100   960    175000     125.3    0.0%
    1   120   960    176600     58.01    0.0%
    1   140   960    178300     110.8    0.0%
    1   160   960    179700      80.5    0.0%
    1   180   960    181200     79.95    0.0%
    1   200   960    182600     94.18    0.0%
    1   220   960    184200     61.52    0.0%
    1   240   960    185700     82.16    0.0%
    1   260   960    187300     77.27    0.0%
    1   280   960    189000     40.91    0.0%
    1   300   960    190400     105.2    0.0%
    1   320   960    191900     37.16    0.0%
    1   340   960    193500      51.8    0.0%
    1   360   960    195000     70.66    0.0%
    1   380   960    196400     68.35    0.0%
    1   400   960    198000     134.6    0.0%
    1   420   960    199400     72.01    0.0%
    1   440   960    200900     46.94    0.0%
    1   460   960    202400     91.89    0.0%
    1   480   960    203900     95.48    0.0%
    1   500   960    205600     334.8    0.1%
    1   520   960    207100     111.7    0.0%
    1   540   960    208600     102.3    0.0%
    1   560   960    210100     138.6    0.0%
    1   580   960    211800     73.11    0.0%
    1   600   960    213000     138.6    0.0%
    1   620   960    214600     136.3    0.0%
    1   640   960    216100     92.64    0.0%
    1   660   960    217400     29.08    0.0%
    1   680   960    219100     56.24    0.0%
    1   700   960    220500       141    0.0%
    1   720   960    222200     84.56    0.0%
    1   740   960    223400     60.17    0.0%
    1   760   960    225000     76.06    0.0%
    1   780   960    226700     79.98    0.0%
    1   800   960    228000     88.12    0.0%
    1   820   960    229500     90.39    0.0%
    1   840   960    231000     109.6    0.0%
   <truncated>...

athei and others added 2 commits August 20, 2021 13:20
…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
@athei athei changed the title Remove dependency on sanboxing host functions Remove dependency on sandboxing host functions Aug 20, 2021
@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 Aug 20, 2021
@athei athei marked this pull request as ready for review August 20, 2021 11:31
@athei athei requested review from pepyakin and cmichi August 20, 2021 12:00
Copy link
Contributor

@pepyakin pepyakin left a comment

Choose a reason for hiding this comment

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

Broadly looks fine

use sp_std::collections::btree_map::BTreeMap;
use sp_std::fmt;

use super::{Error, HostError, HostFuncType, ReturnValue, Value, TARGET};
Copy link
Contributor

Choose a reason for hiding this comment

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

heh, handy that we haven't killed this.

.saturating_add((113_515_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 7_000
.saturating_add((2_314_000 as Weight).saturating_mul(s as Weight))
(479_578_000 as Weight)
Copy link
Contributor

Choose a reason for hiding this comment

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

💢

Copy link
Member Author

Choose a reason for hiding this comment

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

Ouch :)

@athei
Copy link
Member Author

athei commented Aug 25, 2021

bot merge

@ghost
Copy link

ghost commented Aug 25, 2021

Trying merge.

@ghost ghost merged commit bd69793 into master Aug 25, 2021
@ghost ghost deleted the at-wasmi-runtime branch August 25, 2021 11:37
Wizdave97 pushed a commit to Wizdave97/substrate that referenced this pull request Aug 25, 2021
* Embed wasmi into the runtime

* 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

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
cmichi pushed a commit that referenced this pull request Sep 1, 2021
* Embed wasmi into the runtime

* 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

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This pull request was closed.
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.

3 participants