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

Bump wasmi 0.9 -> 0.11 #10702

Closed
wants to merge 9 commits into from
Closed

Bump wasmi 0.9 -> 0.11 #10702

wants to merge 9 commits into from

Conversation

athei
Copy link
Member

@athei athei commented Jan 20, 2022

Only minor changes in wasmi. Most importantly we got rid of that core feature which allows us to make the sp-sandbox manifest much nicer.

@Robbepop The deprecation of memory.get doesn't feel good. It just requires the user to introduce the tedious extra step of allocating a buffer in the common case where we want to allow a dynamically sized buffer. Or how else would be deal with this code:

let buffer = match self.memory.get(val_ptr.into(), len) {
Err(_) => return Ok(sandbox_primitives::ERR_OUT_OF_BOUNDS),
Ok(buffer) => buffer,
};
if let Err(_) = sandboxed_memory.write_from(Pointer::new(offset as u32), &buffer) {
return Ok(sandbox_primitives::ERR_OUT_OF_BOUNDS)
}

Why didn't the dependabot pick this up?

@athei athei added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jan 20, 2022
@athei
Copy link
Member Author

athei commented Jan 20, 2022

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Jan 20, 2022

Benchmark Runtime Pallet for branch "at-bump-wasmi" 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

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

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.424
              µs

Reads = 1
Writes = 0

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

Model:
Time ~=    2.424
              µ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 ~=    14.31
    + k    0.824
              µs

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

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

Data points distribution:
    k   mean µs  sigma µs       %
    0     13.87     0.045    0.3%
   20     32.69     0.088    0.2%
   40     48.51     0.249    0.5%
   60     62.92     0.314    0.4%
   80     76.45      0.29    0.3%
  100     92.55     0.594    0.6%
  120     107.9     0.116    0.1%
  140     126.1     0.494    0.3%
  160       142     0.393    0.2%
  180     159.7      0.41    0.2%
  200       174     0.585    0.3%
  220     191.9     0.415    0.2%
  240     209.4     0.829    0.3%
  260     226.5     1.694    0.7%
  280     243.3      0.76    0.3%
  300     259.8     0.661    0.2%
  320     279.3     0.409    0.1%
  340     296.2      1.31    0.4%
  360     313.8     0.597    0.1%
  380     331.1     0.939    0.2%
  400     348.9     2.525    0.7%
  420     365.6     1.458    0.3%
  440     381.9     1.141    0.2%
  460     395.9     1.123    0.2%
  480     412.5     0.979    0.2%
  500     430.8     0.988    0.2%
  520     448.5      1.33    0.2%
  540     463.3     1.076    0.2%
  560     479.3     1.635    0.3%
  580     496.4     1.707    0.3%
  600       514     2.669    0.5%
  620     530.1     4.632    0.8%
  640     542.6     0.937    0.1%
  660     561.3      1.29    0.2%
  680     577.1     1.236    0.2%
  700     592.1      3.22    0.5%
  720     607.7      0.81    0.1%
  740       624     2.113    0.3%
  760     640.6     2.285    0.3%
  780     655.9     1.806    0.2%
  800     672.5     1.497    0.2%
  820     689.9     3.372    0.4%
  840       705     1.388    0.1%
  860     721.9     2.297    0.3%
  880     738.2     2.557    0.3%
  900     751.6     1.423    0.1%
  920       766     1.779    0.2%
  940       789     6.099    0.7%
  960     794.6     1.691    0.2%
  980     813.1     0.982    0.1%
 1000     828.2     2.398    0.2%
 1020     845.8      2.11    0.2%

Quality and confidence:
param     error
k             0

Model:
Time ~=    15.17
    + k    0.821
              µ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 ~=     25.3
    + q     0.15
              µs

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

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

Data points distribution:
    q   mean µs  sigma µs       %
    0     2.495      0.03    1.2%
   20     21.94     0.109    0.4%
   40     28.46     0.073    0.2%
   60     33.91     0.094    0.2%
   80      39.4     0.148    0.3%
  100     43.96     0.177    0.4%
  120     49.25     0.176    0.3%
  140     54.67     0.502    0.9%
  160     59.18     0.151    0.2%
  180     64.81     0.224    0.3%
  200     70.14      0.46    0.6%
  220     75.59     0.971    1.2%
  240     80.45     0.426    0.5%
  260     85.61     0.235    0.2%
  280     90.75      0.15    0.1%
  300     86.67     0.342    0.3%
  320     85.59      8.04    9.3%
  340     95.17     0.224    0.2%
  360     89.64     12.66   14.1%
  380     105.5     0.239    0.2%
  400     111.1     0.449    0.4%
  420     115.1      0.26    0.2%
  440     121.3     0.302    0.2%
  460     89.69     0.363    0.4%
  480     92.97     0.877    0.9%
  500     96.54     0.723    0.7%
  520     98.11     0.391    0.3%
  540     101.9     0.713    0.6%
  560     104.6     0.384    0.3%
  580     108.3     0.616    0.5%
  600     111.5     0.543    0.4%
  620     113.8     0.627    0.5%
  640       118     1.046    0.8%
  660     120.9     0.864    0.7%
  680       123     0.306    0.2%
  700     127.3     0.691    0.5%
  720     129.4     0.373    0.2%
  740     133.3      0.52    0.3%
  760     136.1     0.454    0.3%
  780     140.9     0.249    0.1%
  800     143.7     0.518    0.3%
  820     147.1     0.566    0.3%
  840     149.9     0.999    0.6%
  860     153.5      0.88    0.5%
  880     156.7     0.748    0.4%
  900     160.8     0.268    0.1%
  920     162.9     0.959    0.5%
  940     167.2     0.665    0.3%
  960     169.1      1.03    0.6%
  980     172.8      0.51    0.2%
 1000     176.7     0.526    0.2%
 1020     179.1     1.166    0.6%

Quality and confidence:
param     error
q         0.001

Model:
Time ~=    34.83
    + q    0.139
              µs

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

Pallet: "pallet_contracts", Extrinsic: "reinstrument", 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 ~=    28.17
    + c    69.15
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     28.73     0.674    2.3%
    2     171.2     1.849    1.0%
    4     306.6     1.601    0.5%
    6     440.8     7.833    1.7%
    8       576     1.842    0.3%
   10       715     1.549    0.2%
   12     850.5     7.037    0.8%
   14     997.3     7.747    0.7%
   16      1144     16.86    1.4%
   18      1276     13.26    1.0%
   20      1407     14.21    1.0%
   22      1529     10.41    0.6%
   24      1677     11.48    0.6%
   26      1837     15.74    0.8%
   28      1964     13.49    0.6%
   30      2108     13.88    0.6%
   32      2240     10.25    0.4%
   34      2386     22.84    0.9%
   36      2540     13.68    0.5%
   38      2661      18.6    0.6%
   40      2788     7.648    0.2%
   42      2919     5.803    0.1%
   44      3041      20.2    0.6%
   46      3176     11.06    0.3%
   48      3314     9.722    0.2%
   50      3502     14.17    0.4%
   52      3646     12.08    0.3%
   54      3776     20.75    0.5%
   56      3912     12.91    0.3%
   58      4057     23.95    0.5%
   60      4159      10.1    0.2%
   62      4299     27.99    0.6%
   64      4442     12.84    0.2%
   66      4588     19.73    0.4%
   68      4719     18.14    0.3%
   70      4873     18.68    0.3%
   72      5013     21.11    0.4%
   74      5139     17.44    0.3%
   76      5278     14.14    0.2%
   78      5431     12.85    0.2%
   80      5553     12.79    0.2%
   82      5668     8.738    0.1%
   84      5793     14.28    0.2%
   86      5940      16.2    0.2%
   88      6059     13.43    0.2%
   90      6233     28.11    0.4%
   92      6339     23.79    0.3%
   94      6473     21.94    0.3%
   96      6622     23.77    0.3%
   98      6863     27.63    0.4%
  100      6961     12.25    0.1%
  102      7117     20.51    0.2%
  104      7267     19.16    0.2%
  106      7409     21.28    0.2%
  108      7527     17.89    0.2%
  110      7644     18.15    0.2%
  112      7790     9.941    0.1%
  114      7936     14.53    0.1%
  116      8058     13.76    0.1%
  118      8195     16.87    0.2%
  120      8330     16.11    0.1%
  122      8488     21.78    0.2%
  124      8609     24.87    0.2%
  126      8720     17.06    0.1%
  128      8871     31.29    0.3%

Quality and confidence:
param     error
c         0.029

Model:
Time ~=    23.04
    + c    69.21
              µs

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

Pallet: "pallet_contracts", Extrinsic: "call_with_code_kb", 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 ~=    193.3
    + c    70.44
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     210.5     0.188    0.0%
    2       352     0.867    0.2%
    4     477.2      1.21    0.2%
    6     610.3     2.265    0.3%
    8     756.5     2.065    0.2%
   10     909.5     7.386    0.8%
   12      1028     7.425    0.7%
   14      1199     11.55    0.9%
   16      1336     12.32    0.9%
   18      1460      13.7    0.9%
   20      1582     3.903    0.2%
   22      1726     8.773    0.5%
   24      1859        11    0.5%
   26      2040     4.936    0.2%
   28      2189     11.73    0.5%
   30      2309     16.88    0.7%
   32      2450     13.18    0.5%
   34      2581     10.01    0.3%
   36      2724     8.943    0.3%
   38      2859     14.89    0.5%
   40      2987     14.01    0.4%
   42      3123     7.157    0.2%
   44      3263     12.87    0.3%
   46      3412     17.69    0.5%
   48      3523     11.43    0.3%
   50      3736        13    0.3%
   52      3880     10.47    0.2%
   54      4011     14.07    0.3%
   56      4144      10.5    0.2%
   58      4274     7.545    0.1%
   60      4473      13.4    0.2%
   62      4548     12.29    0.2%
   64      4705     14.34    0.3%
   66      4871     27.68    0.5%
   68      4957     22.47    0.4%
   70      5102     16.49    0.3%
   72      5225     15.46    0.2%
   74      5384     18.98    0.3%
   76      5527     14.35    0.2%
   78      5633     12.08    0.2%
   80      5774     16.44    0.2%
   82      5911     9.908    0.1%
   84      6092     44.86    0.7%
   86      6177     10.35    0.1%
   88      6314     30.19    0.4%
   90      6467     24.34    0.3%
   92      6585     24.79    0.3%
   94      6714     13.16    0.1%
   96      6832     20.71    0.3%
   98      7176     17.86    0.2%
  100      7309     23.97    0.3%
  102      7442     19.85    0.2%
  104      7563     27.39    0.3%
  106      7750     23.04    0.2%
  108      7865        20    0.2%
  110      7994     24.23    0.3%
  112      8129     29.83    0.3%
  114      8257     22.28    0.2%
  116      8389     39.44    0.4%
  118      8541     13.22    0.1%
  120      8681     17.24    0.1%
  122      8828     25.94    0.2%
  124      8947     19.85    0.2%
  126      9077     21.39    0.2%
  128      9210      35.9    0.3%

Quality and confidence:
param     error
c         0.048

Model:
Time ~=    182.6
    + c    70.58
              µs

Reads = 4 + (0 * c)
Writes = 2 + (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:1)
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 ~=    255.6
    + c    165.9
    + s    1.756
              µs

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

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

Data points distribution:
    c     s   mean µs  sigma µs       %
    0  1024      2062     13.01    0.6%
    1  1024      2244     11.74    0.5%
    2  1024      2401     8.526    0.3%
    3  1024      2397     8.681    0.3%
    4  1024      2739     18.85    0.6%
    5  1024      2902     11.88    0.4%
    6  1024      2884     10.22    0.3%
    7  1024      3230     16.58    0.5%
    8  1024      3391     6.629    0.1%
    9  1024      3480     10.67    0.3%
   10  1024      3743     18.32    0.4%
   11  1024      3909     16.87    0.4%
   12  1024      3885     22.36    0.5%
   13  1024      4264     11.74    0.2%
   14  1024      4394     9.355    0.2%
   15  1024      4414        11    0.2%
   16  1024      4718     16.47    0.3%
   17  1024      4913     14.89    0.3%
   18  1024      4899     17.24    0.3%
   19  1024      5234     19.22    0.3%
   20  1024      5413     16.83    0.3%
   21  1024      5377     17.84    0.3%
   22  1024      5718     11.53    0.2%
   23  1024      5885     26.49    0.4%
   24  1024      5852     18.44    0.3%
   25  1024      6248      15.3    0.2%
   26  1024      6384     19.55    0.3%
   27  1024      6408     25.28    0.3%
   28  1024      6746     23.49    0.3%
   29  1024      6876        13    0.1%
   30  1024      6872     19.38    0.2%
   31  1024      7209     20.51    0.2%
   32  1024      7387     23.16    0.3%
   33  1024      7430     36.73    0.4%
   34  1024      7767     20.63    0.2%
   35  1024      7911     35.97    0.4%
   36  1024      7875     13.42    0.1%
   37  1024      8238     21.99    0.2%
   38  1024      8368     12.67    0.1%
   39  1024      8386     39.68    0.4%
   40  1024      8725     36.07    0.4%
   41  1024      8882     24.39    0.2%
   42  1024      8870      21.7    0.2%
   43  1024      9190     29.84    0.3%
   44  1024      9337     27.82    0.2%
   45  1024      9339     22.69    0.2%
   46  1024      9678     30.58    0.3%
   47  1024      9845     14.34    0.1%
   48  1024      9825     22.63    0.2%
   49  1024     10250     23.22    0.2%
   50  1024     10420     26.65    0.2%
   51  1024     10400      24.5    0.2%
   52  1024     10750     21.81    0.2%
   53  1024     10910     26.76    0.2%
   54  1024     10870     31.18    0.2%
   55  1024     11230     30.97    0.2%
   56  1024     11410     24.33    0.2%
   57  1024     11390     52.56    0.4%
   58  1024     11730     39.48    0.3%
   59  1024     11870     44.11    0.3%
   60  1024     11860     41.13    0.3%
   61  1024     12200     35.93    0.2%
   62  1024     12320     21.98    0.1%
   63  1024     12330     53.28    0.4%
   64     0     10860     40.17    0.3%
   64    20     10880     21.17    0.1%
   64    40     10910     34.37    0.3%
   64    60     10940      18.7    0.1%
   64    80     10970     28.73    0.2%
   64   100     11030     28.89    0.2%
   64   120     11050     32.79    0.2%
   64   140     11060      28.9    0.2%
   64   160     11390     114.9    1.0%
   64   180     11140     24.15    0.2%
   64   200     11190     13.37    0.1%
   64   220     11260     55.43    0.4%
   64   240     11250     21.83    0.1%
   64   260     11310     19.31    0.1%
   64   280     11330     29.78    0.2%
   64   300     11390     22.34    0.1%
   64   320     11380     24.83    0.2%
   64   340     11430     21.04    0.1%
   64   360     11460     42.56    0.3%
   64   380     11500     20.49    0.1%
   64   400     11540     52.77    0.4%
   64   420     11570     20.48    0.1%
   64   440     11610        29    0.2%
   64   460     11650     21.87    0.1%
   64   480     11680     17.47    0.1%
   64   500     11730     50.68    0.4%
   64   520     11740     17.62    0.1%
   64   540     11770     29.84    0.2%
   64   560     11820     28.99    0.2%
   64   580     11850     19.73    0.1%
   64   600     11880     27.58    0.2%
   64   620     11950     22.54    0.1%
   64   640     11970     24.68    0.2%
   64   660     12000     20.19    0.1%
   64   680     12040      36.4    0.3%
   64   700     12060        31    0.2%
   64   720     12100     23.14    0.1%
   64   740     12120     38.69    0.3%
   64   760     12160     47.12    0.3%
   64   780     12210     21.37    0.1%
   64   800     12250     18.39    0.1%
   64   820     12280     29.39    0.2%
   64   840     12310     15.12    0.1%
   64   860     12380     64.68    0.5%
   64   880     12360     31.17    0.2%
   64   900     12410     28.55    0.2%
   64   920     12450     33.73    0.2%
   64   940     12500     19.93    0.1%
   64   960     12500     22.21    0.1%
   64   980     12660     66.94    0.5%
   64  1000     12620     25.62    0.2%
   64  1020     12640     30.83    0.2%
   64  1024     12650     42.45    0.3%

Quality and confidence:
param     error
c         0.129
s         0.008

Model:
Time ~=    242.5
    + c    165.8
    + s    1.744
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 6 + (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:1)
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 ~=    180.2
    + s    1.719
              µs

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

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

Data points distribution:
    s   mean µs  sigma µs       %
    0     181.9     1.525    0.8%
   20     213.1     0.777    0.3%
   40     248.2     0.428    0.1%
   60     286.7     7.921    2.7%
   80     317.9     1.153    0.3%
  100     351.8     0.993    0.2%
  120     393.2     13.79    3.5%
  140       421     0.652    0.1%
  160     460.7     10.71    2.3%
  180     495.6     12.81    2.5%
  200     525.3      4.54    0.8%
  220     561.1     9.721    1.7%
  240     598.2     10.38    1.7%
  260     628.2      4.74    0.7%
  280     672.1     15.96    2.3%
  300     698.4     9.151    1.3%
  320     728.2     1.117    0.1%
  340     767.7     8.855    1.1%
  360     801.2     10.48    1.3%
  380     835.9     11.36    1.3%
  400     877.1     12.17    1.3%
  420     904.3     11.68    1.2%
  440     939.7     13.28    1.4%
  460     975.8     11.01    1.1%
  480      1027      10.5    1.0%
  500      1047     13.73    1.3%
  520      1082     14.93    1.3%
  540      1117     15.23    1.3%
  560      1156     16.33    1.4%
  580      1183     10.93    0.9%
  600      1224     15.44    1.2%
  620      1269     13.42    1.0%
  640      1287     11.09    0.8%
  660      1321      14.5    1.0%
  680      1364     17.59    1.2%
  700      1392     13.15    0.9%
  720      1438     18.39    1.2%
  740      1460     13.46    0.9%
  760      1497     13.42    0.8%
  780      1544     16.07    1.0%
  800      1574     15.39    0.9%
  820      1608     16.51    1.0%
  840      1641     14.56    0.8%
  860      1666     15.29    0.9%
  880      1743     8.671    0.4%
  900      1775     3.045    0.1%
  920      1773     14.29    0.8%
  940      1807     14.57    0.8%
  960      1841     16.09    0.8%
  980      1881     12.87    0.6%
 1000      1908     14.56    0.7%
 1020      1959     18.77    0.9%

Quality and confidence:
param     error
s         0.002

Model:
Time ~=    178.6
    + s    1.742
              µs

Reads = 6 + (0 * s)
Writes = 5 + (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 ~=    133.4
              µs

Reads = 4
Writes = 2

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

Model:
Time ~=    133.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 ~=    66.72
    + c    71.14
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     59.46     0.159    0.2%
    1     135.2     0.801    0.5%
    2     206.2     0.274    0.1%
    3     275.2     1.755    0.6%
    4     348.2     0.917    0.2%
    5     414.8      0.64    0.1%
    6     482.7      1.11    0.2%
    7     565.9     5.475    0.9%
    8     632.2     9.344    1.4%
    9     702.8     4.083    0.5%
   10       784     13.06    1.6%
   11     850.2     10.41    1.2%
   12     922.6     18.77    2.0%
   13      1012     11.71    1.1%
   14      1066     14.99    1.4%
   15      1147     16.95    1.4%
   16      1201     15.63    1.3%
   17      1279     16.37    1.2%
   18      1351      16.2    1.1%
   19      1434     2.795    0.1%
   20      1485     15.19    1.0%
   21      1554     17.55    1.1%
   22      1622     15.88    0.9%
   23      1695     11.46    0.6%
   24      1765     13.31    0.7%
   25      1863     15.42    0.8%
   26      1929     13.94    0.7%
   27      1995     13.45    0.6%
   28      2059     13.23    0.6%
   29      2128     15.15    0.7%
   30      2192     14.48    0.6%
   31      2258     13.89    0.6%
   32      2344     10.16    0.4%
   33      2418     15.81    0.6%
   34      2500      16.9    0.6%
   35      2567     5.245    0.2%
   36      2627     12.75    0.4%
   37      2699     11.55    0.4%
   38      2747     12.07    0.4%
   39      2833     10.59    0.3%
   40      2909     5.642    0.1%
   41      2972     15.71    0.5%
   42      3041     11.37    0.3%
   43      3232     17.87    0.5%
   44      3174     11.37    0.3%
   45      3242     17.09    0.5%
   46      3321     10.59    0.3%
   47      3518      5.91    0.1%
   48      3449     16.63    0.4%
   49      3582      17.6    0.4%
   50      3644     12.12    0.3%
   51      3717     6.923    0.1%
   52      3781     6.391    0.1%
   53      3856     15.23    0.3%
   54      3935     17.72    0.4%
   55      3981     18.96    0.4%
   56      4059     9.323    0.2%
   57      4123     17.16    0.4%
   58      4202     14.38    0.3%
   59      4273     14.92    0.3%
   60      4324     12.92    0.2%
   61      4400     10.66    0.2%
   62      4480     25.59    0.5%
   63      4538     15.04    0.3%
   64      4621     8.774    0.1%

Quality and confidence:
param     error
c         0.053

Model:
Time ~=    64.65
    + c    71.32
              µ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 ~=    33.41
              µs

Reads = 1
Writes = 3

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

Model:
Time ~=    33.41
              µ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:0)
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 ~=    185.8
    + r     70.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.3      0.64    0.3%
    1     250.7      0.34    0.1%
    2       322     0.534    0.1%
    3     393.4     4.356    1.1%
    4       464     7.249    1.5%
    5     530.3     0.745    0.1%
    6     609.6     11.82    1.9%
    7     683.9     1.224    0.1%
    8     757.6     10.66    1.4%
    9     832.8     12.51    1.5%
   10     893.6      8.54    0.9%
   11     955.7     1.132    0.1%
   12      1027     2.093    0.2%
   13      1103     12.01    1.0%
   14      1177     11.01    0.9%
   15      1242     10.34    0.8%
   16      1323     14.74    1.1%
   17      1382     7.786    0.5%
   18      1464     11.63    0.7%
   19      1522     11.57    0.7%
   20      1586     6.156    0.3%

Quality and confidence:
param     error
r          0.12

Model:
Time ~=    185.1
    + r    70.61
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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.1
    + r    70.46
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.3     0.543    0.2%
    1     251.3     0.309    0.1%
    2     321.8      0.35    0.1%
    3     390.5     0.573    0.1%
    4     462.3     0.798    0.1%
    5     530.6     1.116    0.2%
    6     599.8     1.104    0.1%
    7     683.1     1.154    0.1%
    8     754.1     3.802    0.5%
    9       831     11.49    1.3%
   10     897.4     12.94    1.4%
   11     970.2     11.39    1.1%
   12      1033     10.65    1.0%
   13      1103     10.61    0.9%
   14      1180      11.4    0.9%
   15      1250     14.33    1.1%
   16      1319     12.44    0.9%
   17      1382     11.94    0.8%
   18      1454     13.47    0.9%
   19      1526     12.13    0.7%
   20      1596     14.02    0.8%

Quality and confidence:
param     error
r         0.123

Model:
Time ~=    183.4
    + r    70.84
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    175.7
    + r    73.61
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.3      1.76    0.9%
    1     250.6     0.167    0.0%
    2     322.4     1.267    0.3%
    3     391.1     1.609    0.4%
    4     462.4     0.777    0.1%
    5     532.6     2.156    0.4%
    6     600.4     1.835    0.3%
    7     688.3     8.338    1.2%
    8     759.7     11.42    1.5%
    9     837.3     8.525    1.0%
   10     899.8     10.64    1.1%
   11     957.3     4.632    0.4%
   12      1048     3.997    0.3%
   13      1123     2.324    0.2%
   14      1227     5.184    0.4%
   15      1283     5.554    0.4%
   16      1350      4.93    0.3%
   17      1446     4.805    0.3%
   18      1515     2.392    0.1%
   19      1587     2.555    0.1%
   20      1609     11.66    0.7%

Quality and confidence:
param     error
r         0.179

Model:
Time ~=      172
    + r    73.68
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    191.9
    + r    213.6
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.4     1.425    0.7%
    1     396.5     0.738    0.1%
    2     609.2     2.379    0.3%
    3     832.9     10.31    1.2%
    4      1048     16.15    1.5%
    5      1271     10.75    0.8%
    6      1467     12.56    0.8%
    7      1697     14.49    0.8%
    8      1916     12.66    0.6%
    9      2116     11.35    0.5%
   10      2328     11.17    0.4%
   11      2545     10.74    0.4%
   12      2752      12.6    0.4%
   13      2971        14    0.4%
   14      3182     15.48    0.4%
   15      3407     14.12    0.4%
   16      3612     16.87    0.4%
   17      3836     21.39    0.5%
   18      4036     17.97    0.4%
   19      4250     9.892    0.2%
   20      4467     14.84    0.3%

Quality and confidence:
param     error
r         0.165

Model:
Time ~=    190.9
    + r    213.9
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    197.8
    + r    68.87
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     192.1     1.696    0.8%
    1       264     0.362    0.1%
    2     334.4     0.382    0.1%
    3     404.9     4.101    1.0%
    4     473.2     1.021    0.2%
    5     542.9     0.411    0.0%
    6     621.4        12    1.9%
    7     682.4     1.516    0.2%
    8     753.5     8.391    1.1%
    9     825.5     13.22    1.6%
   10       891     7.066    0.7%
   11     972.3     15.75    1.6%
   12      1029     10.77    1.0%
   13      1107     14.54    1.3%
   14      1160     7.543    0.6%
   15      1230     8.919    0.7%
   16      1306     14.62    1.1%
   17      1369     12.56    0.9%
   18      1440     12.33    0.8%
   19      1510     13.75    0.9%
   20      1581     12.11    0.7%

Quality and confidence:
param     error
r         0.126

Model:
Time ~=    198.2
    + r    69.19
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    198.3
    + r    68.47
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     192.1     0.468    0.2%
    1     264.2     0.397    0.1%
    2     333.4     0.262    0.0%
    3     403.3     0.723    0.1%
    4     472.4     0.857    0.1%
    5     541.4     1.844    0.3%
    6     612.5      10.3    1.6%
    7     680.7     2.183    0.3%
    8     749.3     2.756    0.3%
    9     822.6     11.89    1.4%
   10     889.7     10.27    1.1%
   11       957     11.04    1.1%
   12      1030     11.34    1.1%
   13      1093     10.17    0.9%
   14      1160      10.8    0.9%
   15      1225     11.88    0.9%
   16      1303     13.38    1.0%
   17      1357     8.253    0.6%
   18      1440     13.94    0.9%
   19      1496     11.81    0.7%
   20      1568     10.03    0.6%

Quality and confidence:
param     error
r         0.114

Model:
Time ~=    198.1
    + r    68.73
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    197.8
    + r    68.08
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.3     0.295    0.1%
    1     263.6     0.489    0.1%
    2       333     0.554    0.1%
    3     403.1     5.175    1.2%
    4     471.9     0.857    0.1%
    5     539.9     1.877    0.3%
    6     607.5     1.771    0.2%
    7     679.4     4.611    0.6%
    8     745.2     2.827    0.3%
    9     811.1     0.888    0.1%
   10     889.9     9.796    1.1%
   11     945.2     1.206    0.1%
   12      1014     1.165    0.1%
   13      1088        12    1.1%
   14      1146     4.109    0.3%
   15      1225     18.04    1.4%
   16      1282     10.42    0.8%
   17      1359     12.23    0.9%
   18      1432     16.75    1.1%
   19      1489     10.81    0.7%
   20      1586     6.676    0.4%

Quality and confidence:
param     error
r         0.116

Model:
Time ~=    195.2
    + r     68.6
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    193.5
    + r    68.72
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.1     0.255    0.1%
    1       263     0.255    0.0%
    2     333.5     0.214    0.0%
    3     402.3     0.471    0.1%
    4       466     7.904    1.6%
    5     528.7     1.066    0.2%
    6     600.4     5.892    0.9%
    7     673.2     6.021    0.8%
    8     738.4     7.242    0.9%
    9     806.2      2.82    0.3%
   10     875.9     8.017    0.9%
   11     963.5     13.64    1.4%
   12      1015     8.562    0.8%
   13      1106      4.39    0.3%
   14      1176     2.625    0.2%
   15      1232     13.63    1.1%
   16      1299     12.75    0.9%
   17      1357     5.208    0.3%
   18      1430     12.21    0.8%
   19      1501     12.53    0.8%
   20      1569     12.73    0.8%

Quality and confidence:
param     error
r         0.126

Model:
Time ~=    191.2
    + r    69.11
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    198.2
    + r    171.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.9      0.54    0.2%
    1       370      0.89    0.2%
    2     541.7     1.209    0.2%
    3     712.5     2.051    0.2%
    4     875.6     9.332    1.0%
    5      1057     11.08    1.0%
    6      1228     6.679    0.5%
    7      1410     11.09    0.7%
    8      1575     9.036    0.5%
    9      1750     10.08    0.5%
   10      1924     8.883    0.4%
   11      2089     6.203    0.2%
   12      2248     11.12    0.4%
   13      2418     13.92    0.5%
   14      2607     10.78    0.4%
   15      2762     8.153    0.2%
   16      2937     6.261    0.2%
   17      3118     17.24    0.5%
   18      3277     14.34    0.4%
   19      3476     10.34    0.2%
   20      3649     20.66    0.5%

Quality and confidence:
param     error
r         0.153

Model:
Time ~=    196.1
    + r    171.9
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    105.9
    + r    29.95
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     99.49     0.347    0.3%
    1     131.8     0.329    0.2%
    2     160.7     0.464    0.2%
    3     191.2     0.452    0.2%
    4     219.9     0.408    0.1%
    5     261.8     0.889    0.3%
    6     291.1     0.535    0.1%
    7     323.5     2.485    0.7%
    8       348     1.347    0.3%
    9     382.8     3.342    0.8%
   10     404.9     1.727    0.4%
   11     439.1     1.688    0.3%
   12     468.2     2.052    0.4%
   13       498     4.475    0.8%
   14     522.9     0.729    0.1%
   15     558.5     11.09    1.9%
   16     584.1      4.96    0.8%
   17     610.4     4.831    0.7%
   18     638.4     2.581    0.4%
   19     678.6     10.42    1.5%
   20     697.5     4.954    0.7%

Quality and confidence:
param     error
r         0.073

Model:
Time ~=    105.6
    + r    29.96
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    186.6
    + r    66.39
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     195.4     0.472    0.2%
    1       247     0.335    0.1%
    2     314.9     2.077    0.6%
    3     379.7     1.781    0.4%
    4     446.4     1.809    0.4%
    5     510.6     1.682    0.3%
    6     578.3      5.68    0.9%
    7     656.2     1.587    0.2%
    8     721.7     1.967    0.2%
    9     793.5     11.89    1.4%
   10     870.4     4.645    0.5%
   11     938.3     1.288    0.1%
   12       977     1.041    0.1%
   13      1046     8.616    0.8%
   14      1125     12.97    1.1%
   15      1189     13.36    1.1%
   16      1255     14.41    1.1%
   17      1332     7.986    0.5%
   18      1379     10.32    0.7%
   19      1440      3.41    0.2%
   20      1505     9.826    0.6%

Quality and confidence:
param     error
r         0.135

Model:
Time ~=    186.4
    + r    66.62
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    265.7
    + n    11.01
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     247.5     0.193    0.0%
   20     487.3     5.265    1.0%
   40     706.3     10.76    1.5%
   60     927.3     9.801    1.0%
   80      1150     11.72    1.0%
  100      1384     11.96    0.8%
  120      1599     18.18    1.1%
  140      1833     15.28    0.8%
  160      2050     15.29    0.7%
  180      2261     16.83    0.7%
  200      2483     31.04    1.2%
  220      2720     66.94    2.4%
  240      2913     30.02    1.0%
  260      3121     22.99    0.7%
  280      3336     19.76    0.5%
  300      3589     43.24    1.2%
  320      3804     22.27    0.5%
  340      3993     37.24    0.9%
  360      4340     76.25    1.7%
  380      4415     22.57    0.5%
  400      4638     30.78    0.6%
  420      4878     26.54    0.5%
  440      5071     31.77    0.6%
  460      5376     58.36    1.0%
  480      5506     29.12    0.5%
  500      5759      17.8    0.3%
  520      6020     76.12    1.2%
  540      6270      90.9    1.4%
  560      6405     37.89    0.5%
  580      6742     121.4    1.8%
  600      6877     122.2    1.7%
  620      7078     50.97    0.7%
  640      7314     50.09    0.6%
  660      7480     38.09    0.5%
  680      7830       133    1.6%
  700      7966     26.43    0.3%
  720      8189     41.46    0.5%
  740      8503     157.5    1.8%
  760      8826       120    1.3%
  780      8933     114.5    1.2%
  800      9151     107.2    1.1%
  820      9276      83.1    0.8%
  840      9619     159.3    1.6%
  860      9824     111.3    1.1%
  880      9995       162    1.6%
  900     10120     111.1    1.0%
  920     10410     78.65    0.7%
  940     10650     77.16    0.7%
  960     11000     175.4    1.5%
  980     10980      74.8    0.6%
 1000     11470     210.2    1.8%
 1020     11660     175.3    1.5%

Quality and confidence:
param     error
n         0.014

Model:
Time ~=    251.6
    + n    11.09
              µs

Reads = 4 + (0 * n)
Writes = 1 + (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:0)
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 ~=      188
    + r    2.692
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     188.6     1.572    0.8%
    1     190.6     0.139    0.0%

Quality and confidence:
param     error
r         0.526

Model:
Time ~=    188.6
    + r    2.068
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    176.9
    + n    0.171
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     176.5     0.266    0.1%
   20     179.8     0.225    0.1%
   40     183.4     0.355    0.1%
   60     187.4     0.761    0.4%
   80     190.6     1.489    0.7%
  100     194.3     0.458    0.2%
  120     197.1      0.36    0.1%
  140     200.2     0.283    0.1%
  160     203.6     0.652    0.3%
  180     206.9     0.406    0.1%
  200     211.1     0.905    0.4%
  220     215.1     1.444    0.6%
  240     218.2     1.578    0.7%
  260     222.8     5.257    2.3%
  280     225.4     1.882    0.8%
  300     226.9     0.265    0.1%
  320     232.2     1.421    0.6%
  340     236.7     2.448    1.0%
  360     237.3     0.427    0.1%
  380     243.9     1.707    0.6%
  400     244.2     0.798    0.3%
  420     247.5     1.344    0.5%
  440     250.9     0.741    0.2%
  460     255.5      2.48    0.9%
  480     257.6     0.661    0.2%
  500     263.5     2.054    0.7%
  520     270.7      5.34    1.9%
  540     273.3     4.715    1.7%
  560       276      4.89    1.7%
  580     282.5     5.812    2.0%
  600     286.3     4.791    1.6%
  620     285.7     6.387    2.2%
  640     287.6     4.991    1.7%
  660     294.7     5.242    1.7%
  680     298.8     5.979    2.0%
  700     298.2     5.173    1.7%
  720     315.5     6.704    2.1%
  740     311.4     4.997    1.6%
  760     313.4     4.845    1.5%
  780     317.5     6.333    1.9%
  800     318.2     6.286    1.9%
  820     320.9     5.733    1.7%
  840     324.6     7.062    2.1%
  860     327.8     5.622    1.7%
  880     332.7     4.655    1.3%
  900     339.3     6.793    2.0%
  920     345.8      9.46    2.7%
  940     343.2     6.236    1.8%
  960     348.5     5.824    1.6%
  980     349.4     5.174    1.4%
 1000     350.2     4.935    1.4%
 1020     356.4     6.226    1.7%

Quality and confidence:
param     error
n             0

Model:
Time ~=    175.3
    + n     0.18
              µs

Reads = 4 + (0 * n)
Writes = 1 + (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:0)
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 ~=    177.6
    + r    83.33
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     177.7     0.251    0.1%
    1     261.1     0.576    0.2%

Quality and confidence:
param     error
r         0.209

Model:
Time ~=    177.7
    + r     83.4
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_random", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    195.6
    + r    238.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     192.6     0.801    0.4%
    1     421.4     0.474    0.1%
    2     674.2     2.312    0.3%
    3     903.1     8.908    0.9%
    4      1154      11.7    1.0%
    5      1392     11.48    0.8%
    6      1644       3.7    0.2%
    7      1863     8.725    0.4%
    8      2102     11.76    0.5%
    9      2367     7.346    0.3%
   10      2589     12.52    0.4%
   11      2826     14.79    0.5%
   12      3057     13.69    0.4%
   13      3289     8.964    0.2%
   14      3540      9.44    0.2%
   15      3758     8.162    0.2%
   16      4005      15.7    0.3%
   17      4269      13.5    0.3%
   18      4501     9.394    0.2%
   19      4727     12.19    0.2%
   20      4968     18.59    0.3%

Quality and confidence:
param     error
r         0.168

Model:
Time ~=    195.8
    + r    238.7
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    192.5
    + r    407.7
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     188.6     0.409    0.2%
    1     597.5     1.197    0.2%
    2      1006      11.1    1.1%
    3      1408     6.944    0.4%
    4      1847     8.717    0.4%
    5      2230     11.09    0.4%
    6      2637     8.653    0.3%
    7      3046     15.74    0.5%
    8      3451     14.31    0.4%
    9      3894     13.75    0.3%
   10      4264      10.8    0.2%
   11      4688     9.536    0.2%
   12      5107     15.54    0.3%
   13      5481      23.6    0.4%
   14      5896     22.71    0.3%
   15      6325     31.92    0.5%
   16      6705     22.84    0.3%
   17      7213     39.71    0.5%
   18      7547     26.51    0.3%
   19      7928     27.24    0.3%
   20      8327     35.15    0.4%

Quality and confidence:
param     error
r         0.343

Model:
Time ~=    192.8
    + r    408.3
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    683.1
    + t    400.7
    + n    79.35
              µ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      1910     14.57    0.7%
    1    16      2373     15.22    0.6%
    2    16      2778     12.49    0.4%
    3    16      3185     14.43    0.4%
    4     0      2266     13.21    0.5%
    4     1      2377     16.02    0.6%
    4     2      2445     10.77    0.4%
    4     3      2478     9.298    0.3%
    4     4      2574     11.28    0.4%
    4     5      2668     13.31    0.4%
    4     6      2733     23.28    0.8%
    4     7      2789     13.71    0.4%
    4     8      2876     16.93    0.5%
    4     9      2956     9.968    0.3%
    4    10      3064      21.5    0.7%
    4    11      3146     11.08    0.3%
    4    12      3190     18.02    0.5%
    4    13      3319      18.5    0.5%
    4    14      3368     12.63    0.3%
    4    15      3479        23    0.6%
    4    16      3539      16.1    0.4%

Quality and confidence:
param     error
t         2.002
n         0.394

Model:
Time ~=      669
    + t    397.6
    + n    80.23
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 1 + (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:0)
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 ~=    122.3
    + r    47.89
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     107.3     1.096    1.0%
    1     170.6     0.358    0.2%
    2     218.1     0.785    0.3%
    3     269.8     1.299    0.4%
    4     314.5     7.519    2.3%
    5     359.7     3.047    0.8%
    6     409.5     4.078    0.9%
    7     456.5     4.131    0.9%
    8     505.3     2.551    0.5%
    9     545.7     4.937    0.9%
   10     599.3     8.184    1.3%
   11     648.5     6.878    1.0%
   12     701.7     10.53    1.5%
   13     760.3     8.798    1.1%
   14     794.3     13.66    1.7%
   15     836.4     12.26    1.4%
   16       897     6.839    0.7%
   17       936     11.78    1.2%
   18     992.7     8.437    0.8%
   19      1029     9.895    0.9%
   20      1068     12.75    1.1%

Quality and confidence:
param     error
r         0.115

Model:
Time ~=    120.2
    + r    48.07
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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 ~=    193.6
    + r    317.4
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     178.4     0.271    0.1%
    1     532.3     6.804    1.2%
    2     844.6     5.789    0.6%
    3      1153     7.455    0.6%
    4      1461     17.14    1.1%
    5      1792     12.67    0.7%
    6      2075     7.058    0.3%
    7      2383      3.84    0.1%
    8      2687     13.79    0.5%
    9      3050     10.51    0.3%
   10      3377     12.19    0.3%
   11      3689     19.28    0.5%
   12      4002     15.64    0.3%
   13      4323      16.9    0.3%
   14      4604     16.61    0.3%
   15      4918     19.32    0.3%
   16      5227     10.43    0.1%
   17      5539     17.25    0.3%
   18      5997     20.87    0.3%
   19      6326     50.33    0.7%
   20      6579     19.42    0.2%

Quality and confidence:
param     error
r         0.477

Model:
Time ~=    180.4
    + r    318.8
              µs

Reads = 5 + (100 * r)
Writes = 3 + (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:2 w:2)
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 ~=    417.1
    + n    27.36
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     397.6     0.563    0.1%
    1     439.6     0.994    0.2%
    2     476.9     1.065    0.2%
    3     499.9     3.679    0.7%
    4     529.5     1.206    0.2%
    5     561.3      3.23    0.5%
    6     581.7      2.69    0.4%
    7     611.8     2.105    0.3%
    8     643.2     7.936    1.2%
    9       645     1.994    0.3%
   10     688.9     2.313    0.3%
   11     705.4     6.144    0.8%
   12     736.6     11.87    1.6%
   13     767.8     3.785    0.4%
   14     797.6     7.046    0.8%
   15     860.4     10.61    1.2%
   16     845.8     3.875    0.4%

Quality and confidence:
param     error
n         0.199

Model:
Time ~=      413
    + n     27.7
              µ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 ~=        0
    + r      845
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     190.8     0.347    0.1%
    1     859.8     4.578    0.5%
    2      1601     8.121    0.5%
    3      2386     13.84    0.5%
    4      3188     10.01    0.3%
    5      3992     8.507    0.2%
    6      4794     22.68    0.4%
    7      5591     17.43    0.3%
    8      6401     8.476    0.1%
    9      7299     25.84    0.3%
   10      8099     24.58    0.3%
   11      8984     30.27    0.3%
   12      9924     39.07    0.3%
   13     10750     24.52    0.2%
   14     11570      57.2    0.4%
   15     12410     44.44    0.3%
   16     13310     34.87    0.2%
   17     14160     15.77    0.1%
   18     15320     38.01    0.2%
   19     16280     51.49    0.3%
   20     17030     35.74    0.2%

Quality and confidence:
param     error
r         2.057

Model:
Time ~=        0
    + r      849
              µ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 ~=    68.55
    + r    439.6
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     180.7     0.731    0.4%
    1     560.8     4.391    0.7%
    2     975.9     10.36    1.0%
    3      1407     12.63    0.8%
    4      1803     11.15    0.6%
    5      2233     10.46    0.4%
    6      2658     9.451    0.3%
    7      3089      18.3    0.5%
    8      3495     17.06    0.4%
    9      4019     10.96    0.2%
   10      4453     24.14    0.5%
   11      4843     36.76    0.7%
   12      5290     23.15    0.4%
   13      5740     17.39    0.3%
   14      6196     29.97    0.4%
   15      6640     26.35    0.3%
   16      7061     11.19    0.1%
   17      7608     29.14    0.3%
   18      8083     11.68    0.1%
   19      8492     32.34    0.3%
   20      9000     46.34    0.5%

Quality and confidence:
param     error
r         0.748

Model:
Time ~=     53.5
    + r    441.4
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_contains_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 ~=        0
    + r      555
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     191.1     0.449    0.2%
    1     639.8     3.284    0.5%
    2      1126     6.394    0.5%
    3      1667      4.58    0.2%
    4      2185     15.21    0.6%
    5      2737     17.07    0.6%
    6      3266     13.54    0.4%
    7      3796     10.64    0.2%
    8      4331     15.35    0.3%
    9      4921     12.98    0.2%
   10      5418     36.86    0.6%
   11      5990     28.24    0.4%
   12      6601      43.1    0.6%
   13      7216     39.28    0.5%
   14      7738      43.1    0.5%
   15      8434     18.45    0.2%
   16      8896     34.24    0.3%
   17      9394      61.9    0.6%
   18      9987     37.34    0.3%
   19     10730     56.44    0.5%
   20     11300     27.48    0.2%

Quality and confidence:
param     error
r         1.157

Model:
Time ~=        0
    + r    557.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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    377.5
    + n    54.79
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     360.6      0.96    0.2%
    1     428.9     1.072    0.2%
    2     495.3     1.772    0.3%
    3     547.8     2.138    0.3%
    4     603.8     2.105    0.3%
    5       650     1.953    0.3%
    6     704.4     2.574    0.3%
    7     758.7     2.865    0.3%
    8     812.4     2.317    0.2%
    9     872.9     10.41    1.1%
   10     921.2     4.998    0.5%
   11     992.7     11.68    1.1%
   12      1042      14.9    1.4%
   13      1093     15.89    1.4%
   14      1136     8.968    0.7%
   15      1225     13.43    1.0%
   16      1256     17.05    1.3%

Quality and confidence:
param     error
n         0.192

Model:
Time ~=    373.8
    + n     55.5
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_take_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 ~=    60.21
    + r      539
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     194.7     0.397    0.2%
    1     691.6     13.13    1.8%
    2      1177     4.502    0.3%
    3      1692     11.11    0.6%
    4      2193     17.56    0.8%
    5      2730      18.1    0.6%
    6      3247     8.892    0.2%
    7      3786     22.34    0.5%
    8      4255     25.66    0.6%
    9      4888     19.06    0.3%
   10      5369     11.93    0.2%
   11      5959      23.5    0.3%
   12      6526     26.82    0.4%
   13      7020     26.88    0.3%
   14      7556     23.49    0.3%
   15      8089     32.77    0.4%
   16      8629     37.55    0.4%
   17      9231      36.5    0.3%
   18      9932     44.34    0.4%
   19     10510     10.26    0.0%
   20     11060     57.83    0.5%

Quality and confidence:
param     error
r          1.09

Model:
Time ~=    37.48
    + r    542.6
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_take_storage_per_kb", 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 ~=    772.7
    + n    63.84
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     685.3     1.576    0.2%
    1     815.1     4.906    0.6%
    2     915.7     4.832    0.5%
    3     988.3     15.32    1.5%
    4      1051     11.23    1.0%
    5      1099        12    1.0%
    6      1158     9.522    0.8%
    7      1223     13.48    1.1%
    8      1275     7.674    0.6%
    9      1348     14.14    1.0%
   10      1394      10.3    0.7%
   11      1471     8.123    0.5%
   12      1524     9.748    0.6%
   13      1586     12.38    0.7%
   14      1664     12.32    0.7%
   15      1734     5.739    0.3%
   16      1797     3.667    0.2%

Quality and confidence:
param     error
n         0.406

Model:
Time ~=    760.5
    + n    64.75
              µs

Reads = 105 + (0 * n)
Writes = 103 + (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:0)
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 ~=    89.14
    + r     2534
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     194.1     0.322    0.1%
    1      2673     10.43    0.3%
    2      5203     17.98    0.3%
    3      7700     27.67    0.3%
    4     10240     18.73    0.1%
    5     12730     42.44    0.3%
    6     15210     34.77    0.2%
    7     17700     18.31    0.1%
    8     20260     30.97    0.1%
    9     22730     62.72    0.2%
   10     25500      29.5    0.1%
   11     27890      20.5    0.0%
   12     30470     65.44    0.2%
   13     32990      24.6    0.0%
   14     35490     31.58    0.0%
   15     38090     30.48    0.0%
   16     40710     53.93    0.1%
   17     43030     42.85    0.0%
   18     45730     46.67    0.1%
   19     48370     30.98    0.0%
   20     51060     39.62    0.0%

Quality and confidence:
param     error
r         1.228

Model:
Time ~=    56.43
    + r     2537
              µs

Reads = 5 + (100 * r)
Writes = 2 + (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:0)
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 ~=    506.1
    + r    15820
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     193.3     0.483    0.2%
    1     17270     29.73    0.1%
    2     34330     41.53    0.1%
    3     51370      51.6    0.1%
    4     68970     99.32    0.1%
    5     86190     55.88    0.0%
    6     94820     40.78    0.0%
    7    110600     88.42    0.0%
    8    126500     66.61    0.0%
    9    142400     87.59    0.0%
   10    158300     143.2    0.0%
   11    173900     66.76    0.0%
   12    190000     99.54    0.0%
   13    205700     127.6    0.0%
   14    221700       157    0.0%
   15    237700<truncated>...

@Robbepop
Copy link
Contributor

Robbepop commented Jan 20, 2022

@Robbepop The deprecation of memory.get doesn't feel good. It just requires the user to introduce the tedious extra step of allocating a buffer in the common case where we want to allow a dynamically sized buffer. Or how else would be deal with this code:

Why is this only a problem with wasmi but not a problem with the other commonly used Wasm runtimes such as Wasmtime and Wasmer?

It is trivial to create a thin wrapper around this struct in case you want to mimic the old behavior.
I won't repeat here why the old API was going against common API guidelines.

To answer your question: You have 2 options:

  1. Allocate a new vec![0x00; len] everytime before you write to wasmi memory and directly mimic the old behavior.
  2. Create a reusable buffer that you use instead to avoid frequent reallocations.

Prefer 2) if you are operating in a hot loop, otherwise it won't matter too much what you do there. If you already do have a reusable byte buffer for other common operations you could start using it here.

@athei
Copy link
Member Author

athei commented Jan 20, 2022

It isn't a problem, really. It was just a convenience API to save myself this vec![0u8; len] step. I just wanted some advice what to to do in this case. The wasmtime impl just uses this approach. It's fine.

Parity Bot and others added 2 commits January 20, 2022 08:40
…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
@pepyakin
Copy link
Contributor

Should we run a burn-in just in case?

@athei athei added A1-onice and removed A0-please_review Pull request needs code review. labels Jan 20, 2022
@athei
Copy link
Member Author

athei commented Jan 20, 2022

I put it on ice because it turns out that we have a performance regression. While the weights with regards to instantiation time and host functions go down we have almost 50% regression for instruction weights. @Robbepop confirmed that with a coremark benchmark just now.

burn-in is a good idea after we resolved the regression.

@Robbepop
Copy link
Contributor

Robbepop commented Jan 20, 2022

@athei @pepyakin

Turns out this is more complex than stating that wasmi version 0.11 is slow ...

I tested wasmi versions 0.9.1, 0.10.0 and 0.11.0 under all combinations of the following profiles:

[profile.release]
lto = false # or "fat"
codegen-units = 16 # or 1

The Wasm coremark result scores are in the following table:

0.9.1 0.10.0 0.11.0 v1
lto = "fat", cgu = 1 413 410 377 500
lto = "fat", cgu = 16 373 401 371 299
lto = false, cgu = 1 430 445 416 151
lto = false, cgu = 16 395 415 425 120

Summary

  • For nearly every configuration there is a different fastest version.
  • Interpreter engines seem to be very fragile to small changes in their engine code.
  • The v1 implementation is both by far the slowest and by far the fastest engine depending on the profile.
  • The lto = "fat" setting is bad for all engines but the v1 one.
  • The cgu = 1 setting is good for all engines.
  • Following those results version 0.10.0 should run fine.

For more information about the huge difference in v1 visit: wasmi-labs/wasmi#339

@athei
Copy link
Member Author

athei commented Jan 20, 2022

Runtime uses lto = "fat", cgu = 16. Regarding to this numbers we shouldn't see a regression in this case.

@Robbepop
Copy link
Contributor

Robbepop commented Jan 20, 2022

Runtime uses lto = "fat", cgu = 16. Regarding to this numbers we shouldn't see a regression in this case.

I'd welcome that we at least run benchmarks in order to see what is really happening.
If there is one thing that I learned about those results it is that we should make fewer assumptions about performance.

@athei
Copy link
Member Author

athei commented Jan 20, 2022

What do you mean? Weights are the benchmark.

@Robbepop
Copy link
Contributor

Robbepop commented Jan 20, 2022

What do you mean? Weights are the benchmark.

Sorry, i mean benchmarking wasmi version 0.10.0 instead of version 0.11.0.

With this we can better locate the slowdown.

@athei
Copy link
Member Author

athei commented Jan 20, 2022

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Jan 20, 2022

Benchmark Runtime Pallet for branch "at-bump-wasmi" 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

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

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.599
              µs

Reads = 1
Writes = 0

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

Model:
Time ~=    2.599
              µ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 ~=    12.77
    + k    0.825
              µs

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

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

Data points distribution:
    k   mean µs  sigma µs       %
    0     13.48     0.063    0.4%
   20     31.99     0.117    0.3%
   40     47.71     0.231    0.4%
   60     61.97     0.312    0.5%
   80     75.66     0.235    0.3%
  100     91.38       0.3    0.3%
  120     107.4     0.324    0.3%
  140     125.8     0.587    0.4%
  160     141.9     0.699    0.4%
  180       160     0.706    0.4%
  200       174     0.855    0.4%
  220     191.5     0.652    0.3%
  240     208.1     0.575    0.2%
  260     224.1     0.682    0.3%
  280     241.1     0.706    0.2%
  300     257.5     1.128    0.4%
  320     277.3     0.395    0.1%
  340     294.6     1.258    0.4%
  360     309.6     0.441    0.1%
  380     328.9     0.236    0.0%
  400     347.4     2.215    0.6%
  420     361.7       0.6    0.1%
  440     379.2     1.102    0.2%
  460     393.6     0.898    0.2%
  480     410.4     0.946    0.2%
  500     428.2     0.898    0.2%
  520     446.5     0.842    0.1%
  540     465.2      6.04    1.2%
  560     478.8     1.538    0.3%
  580     495.9     2.319    0.4%
  600     512.1     1.468    0.2%
  620     526.5     1.611    0.3%
  640     541.3     0.895    0.1%
  660     560.4     7.203    1.2%
  680     575.3     0.862    0.1%
  700     592.4     2.391    0.4%
  720     606.5     1.276    0.2%
  740     623.7      1.25    0.2%
  760     638.8     1.469    0.2%
  780     654.3     1.654    0.2%
  800     667.9     0.988    0.1%
  820     688.3     1.133    0.1%
  840     705.2     2.034    0.2%
  860     721.3      1.48    0.2%
  880     737.8     1.648    0.2%
  900       754     1.636    0.2%
  920       768     5.368    0.6%
  940     780.3       1.6    0.2%
  960     794.8     1.726    0.2%
  980     827.4     9.877    1.1%
 1000     837.4      9.61    1.1%
 1020       847     4.334    0.5%

Quality and confidence:
param     error
k             0

Model:
Time ~=    13.05
    + k    0.824
              µ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 ~=    22.91
    + q    0.159
              µs

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

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

Data points distribution:
    q   mean µs  sigma µs       %
    0     2.471      0.05    2.0%
   20     21.89     0.147    0.6%
   40     28.38     0.126    0.4%
   60     34.27     0.127    0.3%
   80     39.66     0.122    0.3%
  100     44.97     0.126    0.2%
  120     50.01     0.197    0.3%
  140     55.45     0.268    0.4%
  160     60.68     0.286    0.4%
  180     65.52     0.154    0.2%
  200     71.25     0.197    0.2%
  220     76.41     0.185    0.2%
  240     81.78     0.276    0.3%
  260     87.32     0.413    0.4%
  280     92.62     0.443    0.4%
  300     88.59     0.269    0.3%
  320     93.35       0.2    0.2%
  340     71.94     0.154    0.2%
  360      95.2     11.83   12.4%
  380     108.2     0.313    0.2%
  400     113.9     0.857    0.7%
  420     118.7     0.256    0.2%
  440     123.8     0.369    0.2%
  460     91.83     0.401    0.4%
  480     94.75     0.284    0.2%
  500     98.74     0.364    0.3%
  520     101.8     0.294    0.2%
  540       106     0.458    0.4%
  560     108.7     0.382    0.3%
  580     111.9     0.221    0.1%
  600       115     0.286    0.2%
  620     118.9     0.472    0.3%
  640     121.3     0.249    0.2%
  660     125.5      0.31    0.2%
  680       128     0.443    0.3%
  700     131.3     0.342    0.2%
  720       135     0.603    0.4%
  740     139.4     0.751    0.5%
  760     143.7     0.827    0.5%
  780     146.6     0.797    0.5%
  800     150.1     0.643    0.4%
  820     153.2     0.542    0.3%
  840     155.9     0.718    0.4%
  860       159     0.502    0.3%
  880     162.3     0.336    0.2%
  900     167.5     0.689    0.4%
  920     169.2     0.744    0.4%
  940     174.6     1.058    0.6%
  960     176.2     0.696    0.3%
  980     179.1     0.466    0.2%
 1000     182.5     0.557    0.3%
 1020     185.8     0.644    0.3%

Quality and confidence:
param     error
q         0.001

Model:
Time ~=    33.96
    + q    0.147
              µs

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

Pallet: "pallet_contracts", Extrinsic: "reinstrument", 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 ~=    30.52
    + c    66.85
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     28.17     0.297    1.0%
    2     164.5     0.276    0.1%
    4     298.1     0.545    0.1%
    6     424.4     0.351    0.0%
    8     565.7     8.621    1.5%
   10     692.5     0.998    0.1%
   12     828.8     13.19    1.5%
   14     986.6     11.43    1.1%
   16      1111     15.25    1.3%
   18      1228     9.674    0.7%
   20      1374     10.05    0.7%
   22      1486     14.32    0.9%
   24      1615     14.03    0.8%
   26      1790     11.61    0.6%
   28      1920     7.933    0.4%
   30      2033     12.35    0.6%
   32      2168      13.5    0.6%
   34      2310     15.95    0.6%
   36      2427     11.94    0.4%
   38      2577     12.47    0.4%
   40      2703     12.34    0.4%
   42      2822      12.2    0.4%
   44      2948     14.38    0.4%
   46      3083     12.16    0.3%
   48      3223     14.78    0.4%
   50      3393     9.036    0.2%
   52      3523     9.563    0.2%
   54      3650     13.94    0.3%
   56      3785     9.484    0.2%
   58      3914     11.36    0.2%
   60      4043      15.3    0.3%
   62      4166     9.993    0.2%
   64      4296     16.42    0.3%
   66      4450     14.41    0.3%
   68      4587     12.53    0.2%
   70      4723        16    0.3%
   72      4848     17.29    0.3%
   74      4973     20.44    0.4%
   76      5112     17.24    0.3%
   78      5217     13.33    0.2%
   80      5336     9.863    0.1%
   82      5494     16.36    0.2%
   84      5612     8.958    0.1%
   86      5750     28.24    0.4%
   88      5865      18.5    0.3%
   90      6006     14.65    0.2%
   92      6137      17.2    0.2%
   94      6254     10.74    0.1%
   96      6388     18.59    0.2%
   98      6643     18.85    0.2%
  100      6773      14.9    0.2%
  102      6901     17.92    0.2%
  104      7038      10.6    0.1%
  106      7159     24.25    0.3%
  108      7276     14.52    0.1%
  110      7414     11.77    0.1%
  112      7539     6.978    0.0%
  114      7670     17.21    0.2%
  116      7800     11.48    0.1%
  118      7922     10.98    0.1%
  120      8056     24.02    0.2%
  122      8200     36.07    0.4%
  124      8335     17.33    0.2%
  126      8443     18.14    0.2%
  128      8569     15.39    0.1%

Quality and confidence:
param     error
c          0.03

Model:
Time ~=    26.24
    + c    66.92
              µs

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

Pallet: "pallet_contracts", Extrinsic: "call_with_code_kb", 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 ~=    242.9
    + c    62.24
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     247.6     0.273    0.1%
    2     372.4     0.639    0.1%
    4     498.4     6.073    1.2%
    6     613.4      0.82    0.1%
    8       741     1.135    0.1%
   10       869     11.68    1.3%
   12     977.2      4.31    0.4%
   14      1120     2.878    0.2%
   16      1242     11.68    0.9%
   18      1354     2.932    0.2%
   20      1481      13.5    0.9%
   22      1593     9.556    0.5%
   24      1715     13.85    0.8%
   26      1879     10.77    0.5%
   28      2004     12.36    0.6%
   30      2122     12.26    0.5%
   32      2227      10.3    0.4%
   34      2352     12.45    0.5%
   36      2484     7.198    0.2%
   38      2597     12.94    0.4%
   40      2710     12.29    0.4%
   42      2842     11.76    0.4%
   44      2958     11.11    0.3%
   46      3071     16.61    0.5%
   48      3181      12.4    0.3%
   50      3391     9.579    0.2%
   52      3492     12.04    0.3%
   54      3618     12.05    0.3%
   56      3736     10.69    0.2%
   58      3871     11.29    0.2%
   60      3980        11    0.2%
   62      4099     9.574    0.2%
   64      4217     10.49    0.2%
   66      4351     9.272    0.2%
   68      4486     9.844    0.2%
   70      4589     9.789    0.2%
   72      4714     5.508    0.1%
   74      4829      15.5    0.3%
   76      4940     10.61    0.2%
   78      5057     14.71    0.2%
   80      5172     4.915    0.0%
   82      5305     12.25    0.2%
   84      5436     26.02    0.4%
   86      5541     12.46    0.2%
   88      5668     21.51    0.3%
   90      5780     22.27    0.3%
   92      5871      13.5    0.2%
   94      6000      20.7    0.3%
   96      6126     16.84    0.2%
   98      6430     23.29    0.3%
  100      6528      18.9    0.2%
  102      6668     15.26    0.2%
  104      6759     11.08    0.1%
  106      6906     28.02    0.4%
  108      6980     15.01    0.2%
  110      7177     56.19    0.7%
  112      7246     12.86    0.1%
  114      7375     16.86    0.2%
  116      7474     15.18    0.2%
  118      7596     24.35    0.3%
  120      7710     12.23    0.1%
  122      7862      30.8    0.3%
  124      7949     20.05    0.2%
  126      8092     14.18    0.1%
  128      8216      24.3    0.2%

Quality and confidence:
param     error
c         0.041

Model:
Time ~=    233.1
    + c    62.34
              µs

Reads = 4 + (0 * c)
Writes = 2 + (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:1)
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 ~=    323.7
    + c    154.3
    + s    1.719
              µs

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

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

Data points distribution:
    c     s   mean µs  sigma µs       %
    0  1024      2081     7.759    0.3%
    1  1024      2256     13.06    0.5%
    2  1024      2418     18.13    0.7%
    3  1024      2398     10.42    0.4%
    4  1024      2726     7.484    0.2%
    5  1024      2875     10.55    0.3%
    6  1024      2846      16.7    0.5%
    7  1024      3173     25.97    0.8%
    8  1024      3314     12.49    0.3%
    9  1024      3330     5.624    0.1%
   10  1024      3636     14.46    0.3%
   11  1024      3810     17.97    0.4%
   12  1024      3777     14.99    0.3%
   13  1024      4116     12.03    0.2%
   14  1024      4329     14.25    0.3%
   15  1024      4289      12.8    0.2%
   16  1024      4569     9.719    0.2%
   17  1024      4752     14.98    0.3%
   18  1024      4725     19.75    0.4%
   19  1024      5044     15.19    0.3%
   20  1024      5202     16.29    0.3%
   21  1024      5160     10.92    0.2%
   22  1024      5487     16.57    0.3%
   23  1024      5635      12.7    0.2%
   24  1024      5637     22.31    0.3%
   25  1024      5994     12.46    0.2%
   26  1024      6123     15.87    0.2%
   27  1024      6215     13.59    0.2%
   28  1024      6449      15.1    0.2%
   29  1024      6580     15.53    0.2%
   30  1024      6553     28.28    0.4%
   31  1024      6969     12.75    0.1%
   32  1024      7018     29.66    0.4%
   33  1024      7041     10.78    0.1%
   34  1024      7413     16.46    0.2%
   35  1024      7524     38.27    0.5%
   36  1024      7496     16.84    0.2%
   37  1024      7851     31.61    0.4%
   38  1024      7980        24    0.3%
   39  1024      7980     27.25    0.3%
   40  1024      8289      12.5    0.1%
   41  1024      8549     41.01    0.4%
   42  1024      8384     13.32    0.1%
   43  1024      8724     31.25    0.3%
   44  1024      8865     34.11    0.3%
   45  1024      8846     27.87    0.3%
   46  1024      9181     29.96    0.3%
   47  1024      9304     21.26    0.2%
   48  1024      9288     26.46    0.2%
   49  1024      9691     20.65    0.2%
   50  1024      9854     40.76    0.4%
   51  1024      9839     33.57    0.3%
   52  1024     10250     31.28    0.3%
   53  1024     10310      30.6    0.2%
   54  1024     10270      17.2    0.1%
   55  1024     10610     38.31    0.3%
   56  1024     10750     37.32    0.3%
   57  1024     10730     39.38    0.3%
   58  1024     11050     41.37    0.3%
   59  1024     11190     38.38    0.3%
   60  1024     11170     29.64    0.2%
   61  1024     11500     45.07    0.3%
   62  1024     12270     34.38    0.2%
   63  1024     11610     26.74    0.2%
   64     0     10240     54.31    0.5%
   64    20     10130     29.01    0.2%
   64    40     10180     16.83    0.1%
   64    60     10220     14.06    0.1%
   64    80     10290     26.96    0.2%
   64   100     10290     27.91    0.2%
   64   120     10320      28.1    0.2%
   64   140     10380      27.6    0.2%
   64   160     10400     23.13    0.2%
   64   180     10430     26.39    0.2%
   64   200     10540     27.84    0.2%
   64   220     10550     23.26    0.2%
   64   240     10750     18.08    0.1%
   64   260     10570     31.75    0.3%
   64   280     10600     20.46    0.1%
   64   300     10640     22.59    0.2%
   64   320     10690     16.71    0.1%
   64   340     10710     15.64    0.1%
   64   360     10750     13.56    0.1%
   64   380     10810     29.85    0.2%
   64   400     10810     18.46    0.1%
   64   420     11080     20.64    0.1%
   64   440     10930     21.47    0.1%
   64   460     10910     19.67    0.1%
   64   480     11140     16.76    0.1%
   64   500     11100      23.6    0.2%
   64   520     11020     46.74    0.4%
   64   540     11040     12.24    0.1%
   64   560     11080     30.02    0.2%
   64   580     11360     18.16    0.1%
   64   600     11130     15.82    0.1%
   64   620     11160     18.48    0.1%
   64   640     11210     20.36    0.1%
   64   660     11260     27.87    0.2%
   64   680     11280     16.45    0.1%
   64   700     11380      27.5    0.2%
   64   720     11540     17.48    0.1%
   64   740     11580     17.32    0.1%
   64   760     11420     29.59    0.2%
   64   780     11460     24.66    0.2%
   64   800     11500     40.54    0.3%
   64   820     11510     20.29    0.1%
   64   840     11570     32.72    0.2%
   64   860     11600     40.26    0.3%
   64   880     11640     13.38    0.1%
   64   900     11700     35.57    0.3%
   64   920     11700     20.89    0.1%
   64   940     11740     18.03    0.1%
   64   960     11810     37.55    0.3%
   64   980     11850     43.05    0.3%
   64  1000     11890     20.68    0.1%
   64  1020     11910      22.6    0.1%
   64  1024     11930     19.54    0.1%

Quality and confidence:
param     error
c         0.179
s         0.011

Model:
Time ~=    266.3
    + c    154.4
    + s    1.748
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 6 + (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:1)
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 ~=    203.5
    + s    1.703
              µs

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

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

Data points distribution:
    s   mean µs  sigma µs       %
    0     200.6     0.403    0.2%
   20     235.4     0.161    0.0%
   40       271     0.806    0.2%
   60     304.7     0.541    0.1%
   80     338.9     0.359    0.1%
  100     373.2     0.683    0.1%
  120     412.6     11.29    2.7%
  140       445      5.97    1.3%
  160     478.3     8.214    1.7%
  180       521      15.2    2.9%
  200     543.9     0.789    0.1%
  220     583.5     11.61    1.9%
  240     617.1     11.18    1.8%
  260     645.8     0.436    0.0%
  280     681.5     4.071    0.5%
  300     721.9     14.36    1.9%
  320     757.4     16.05    2.1%
  340     782.2     1.634    0.2%
  360     827.6     16.48    1.9%
  380       854     8.951    1.0%
  400     898.2     15.07    1.6%
  420     920.6     8.076    0.8%
  440     982.4     3.046    0.3%
  460      1017     2.325    0.2%
  480      1028     12.88    1.2%
  500      1059     11.09    1.0%
  520      1092     11.53    1.0%
  540      1131      16.8    1.4%
  560      1163     12.88    1.1%
  580      1195      8.32    0.6%
  600      1246     15.14    1.2%
  620      1265     12.68    1.0%
  640      1299     11.11    0.8%
  660      1338     14.53    1.0%
  680      1377     15.32    1.1%
  700      1404     13.07    0.9%
  720      1452     16.02    1.1%
  740      1476     16.32    1.1%
  760      1521      14.2    0.9%
  780      1534     11.31    0.7%
  800      1580     13.98    0.8%
  820      1610      15.1    0.9%
  840      1647      15.4    0.9%
  860      1682     12.28    0.7%
  880      1715     14.62    0.8%
  900      1748     14.42    0.8%
  920      1794     13.67    0.7%
  940      1809     11.18    0.6%
  960      1854     11.05    0.5%
  980      1880     13.11    0.6%
 1000      1913     12.57    0.6%
 1020      1940     7.371    0.3%

Quality and confidence:
param     error
s         0.001

Model:
Time ~=    205.3
    + s    1.716
              µs

Reads = 6 + (0 * s)
Writes = 5 + (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 ~=    157.2
              µs

Reads = 4
Writes = 2

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

Model:
Time ~=    157.2
              µ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 ~=    63.09
    + c    67.64
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     58.06     0.106    0.1%
    1     131.4     1.643    1.2%
    2     197.5     0.474    0.2%
    3     263.2     0.483    0.1%
    4       332     0.268    0.0%
    5     396.9     0.808    0.2%
    6     461.5     0.671    0.1%
    7     534.7     0.806    0.1%
    8     599.9     1.797    0.2%
    9     667.8      0.78    0.1%
   10     734.6     1.073    0.1%
   11     804.1     11.98    1.4%
   12     868.8     12.33    1.4%
   13     945.1     0.737    0.0%
   14      1021     13.42    1.3%
   15      1089     14.38    1.3%
   16      1149     14.66    1.2%
   17      1216     14.07    1.1%
   18      1287     17.25    1.3%
   19      1349     11.86    0.8%
   20      1425      11.9    0.8%
   21      1487     13.77    0.9%
   22      1545      14.5    0.9%
   23      1606     12.25    0.7%
   24      1681     15.68    0.9%
   25      1771      14.5    0.8%
   26      1831     13.76    0.7%
   27      1905     13.18    0.6%
   28      1963      14.1    0.7%
   29      2033     16.13    0.7%
   30      2093     14.73    0.7%
   31      2169     11.63    0.5%
   32      2223      11.7    0.5%
   33      2314     18.09    0.7%
   34      2372     13.77    0.5%
   35      2438     21.71    0.8%
   36      2509     15.62    0.6%
   37      2562     14.49    0.5%
   38      2632     12.16    0.4%
   39      2702     10.25    0.3%
   40      2768     6.375    0.2%
   41      2830     15.17    0.5%
   42      2907      22.6    0.7%
   43      2961     11.97    0.4%
   44      3034     7.692    0.2%
   45      3094     7.842    0.2%
   46      3153      3.93    0.1%
   47      3208     8.681    0.2%
   48      3274     10.71    0.3%
   49      3410      12.4    0.3%
   50      3475     10.96    0.3%
   51      3540      10.7    0.3%
   52      3613      11.1    0.3%
   53      3665     10.15    0.2%
   54      3749     13.09    0.3%
   55      3815     12.09    0.3%
   56      3868     10.11    0.2%
   57      3927     5.987    0.1%
   58      4001     10.95    0.2%
   59      4056     14.84    0.3%
   60      4125     10.38    0.2%
   61      4184     9.844    0.2%
   62      4254     8.016    0.1%
   63      4320     10.75    0.2%
   64      4392     13.38    0.3%

Quality and confidence:
param     error
c         0.036

Model:
Time ~=     61.5
    + c    67.79
              µ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 ~=    32.93
              µs

Reads = 1
Writes = 3

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

Model:
Time ~=    32.93
              µ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:0)
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 ~=    232.1
    + r    61.95
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     227.9     0.185    0.0%
    1     292.5     0.216    0.0%
    2     356.7     0.246    0.0%
    3     417.4     0.576    0.1%
    4       483     3.034    0.6%
    5     541.6     0.741    0.1%
    6     611.9     12.79    2.0%
    7     667.5     2.682    0.4%
    8     733.8     10.53    1.4%
    9     800.8     13.75    1.7%
   10       853     7.589    0.8%
   11     912.4     4.942    0.5%
   12     974.6     5.544    0.5%
   13      1035     6.543    0.6%
   14      1114     14.99    1.3%
   15      1172     15.18    1.2%
   16      1227     8.103    0.6%
   17      1292     12.66    0.9%
   18      1355     13.07    0.9%
   19      1414     12.34    0.8%
   20      1479     14.19    0.9%

Quality and confidence:
param     error
r         0.117

Model:
Time ~=    231.4
    + r     62.4
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    232.6
    + r    62.13
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.4      0.33    0.1%
    1     293.2     0.405    0.1%
    2       357      0.39    0.1%
    3     422.8     7.142    1.6%
    4     481.9     0.773    0.1%
    5     542.3     1.436    0.2%
    6     610.9     8.821    1.4%
    7     667.1     2.234    0.3%
    8     727.6     2.547    0.3%
    9     796.9     11.25    1.4%
   10     864.8     13.08    1.5%
   11     922.3     10.31    1.1%
   12     986.7        12    1.2%
   13      1036     6.377    0.6%
   14      1113     12.08    1.0%
   15      1182     13.13    1.1%
   16      1227     1.965    0.1%
   17      1284     7.281    0.5%
   18      1351     7.299    0.5%
   19      1418     10.44    0.7%
   20      1483     15.64    1.0%

Quality and confidence:
param     error
r         0.114

Model:
Time ~=    232.4
    + r    62.46
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    232.3
    + r     61.4
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     227.9      0.21    0.0%
    1     292.5     0.305    0.1%
    2     356.6     0.903    0.2%
    3       421     5.016    1.1%
    4     479.7     1.581    0.3%
    5     540.7     4.005    0.7%
    6     598.5     0.953    0.1%
    7     663.4     1.184    0.1%
    8     724.8     1.077    0.1%
    9     784.1     1.412    0.1%
   10     850.4      7.64    0.8%
   11     907.1     8.278    0.9%
   12     982.4      15.4    1.5%
   13      1035     10.44    1.0%
   14      1111     12.38    1.1%
   15      1165     13.68    1.1%
   16      1220     9.389    0.7%
   17      1277     8.368    0.6%
   18      1340     10.02    0.7%
   19      1395     1.877    0.1%
   20      1468     16.74    1.1%

Quality and confidence:
param     error
r         0.111

Model:
Time ~=    231.8
    + r    61.78
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    237.4
    + r    189.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.2     0.198    0.0%
    1     424.5     2.206    0.5%
    2       614     1.334    0.2%
    3       803     3.429    0.4%
    4      1010     12.33    1.2%
    5      1190      16.2    1.3%
    6      1377     10.02    0.7%
    7      1566     10.06    0.6%
    8      1759     9.971    0.5%
    9      1947     11.61    0.5%
   10      2130     11.37    0.5%
   11      2323     8.214    0.3%
   12      2506     6.984    0.2%
   13      2693     12.23    0.4%
   14      2915     15.49    0.5%
   15      3091     15.03    0.4%
   16      3278     11.61    0.3%
   17      3458     15.35    0.4%
   18      3640     12.41    0.3%
   19      3846     15.46    0.4%
   20      4018     16.13    0.4%

Quality and confidence:
param     error
r         0.162

Model:
Time ~=    238.1
    + r    189.6
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    231.3
    + r     61.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     227.7     0.295    0.1%
    1     292.3     0.231    0.0%
    2     354.8     0.369    0.1%
    3     415.8     0.668    0.1%
    4       479     1.818    0.3%
    5     539.4     2.022    0.3%
    6     599.9     1.885    0.3%
    7     672.1     8.279    1.2%
    8     731.9     12.53    1.7%
    9     786.9      9.01    1.1%
   10     848.7     10.08    1.1%
   11     908.2     6.462    0.7%
   12     980.2     14.53    1.4%
   13      1032     11.19    1.0%
   14      1104     13.61    1.2%
   15      1161     12.67    1.0%
   16      1221     12.16    0.9%
   17      1294     14.06    1.0%
   18      1346     12.04    0.8%
   19      1404     11.33    0.8%
   20      1471     13.11    0.8%

Quality and confidence:
param     error
r         0.118

Model:
Time ~=    230.2
    + r    62.08
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    231.2
    + r    61.96
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     227.8     0.129    0.0%
    1     293.2     0.375    0.1%
    2     356.3     0.793    0.2%
    3       418     3.487    0.8%
    4     482.5     7.483    1.5%
    5     541.8     1.211    0.2%
    6     601.7     0.973    0.1%
    7     664.2     1.393    0.2%
    8     732.5     9.493    1.2%
    9     788.7     1.826    0.2%
   10     868.5     7.596    0.8%
   11     912.2     6.992    0.7%
   12     996.7     11.98    1.2%
   13      1045     11.93    1.1%
   14      1097     9.386    0.8%
   15      1164     9.764    0.8%
   16      1222     10.29    0.8%
   17      1295     16.97    1.3%
   18      1365     9.369    0.6%
   19      1410     8.685    0.6%
   20      1480     10.65    0.7%

Quality and confidence:
param     error
r         0.118

Model:
Time ~=    230.5
    + r    62.49
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    232.4
    + r    61.02
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.1     0.076    0.0%
    1     292.4     0.284    0.0%
    2     355.4     2.146    0.6%
    3     415.1     0.232    0.0%
    4     479.6     4.866    1.0%
    5     537.9     1.679    0.3%
    6     608.2     12.99    2.1%
    7     663.6     5.135    0.7%
    8       723     5.144    0.7%
    9     792.9     14.28    1.8%
   10     842.5     6.338    0.7%
   11     903.7      8.17    0.9%
   12     964.9     7.916    0.8%
   13      1034     14.28    1.3%
   14      1101        10    0.9%
   15      1159     14.35    1.2%
   16      1220     13.65    1.1%
   17      1281     14.86    1.1%
   18      1335     14.64    1.0%
   19      1394     9.262    0.6%
   20      1461     13.08    0.8%

Quality and confidence:
param     error
r         0.122

Model:
Time ~=      232
    + r    61.54
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    232.3
    + r    61.49
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.4     1.093    0.4%
    1     292.7     0.324    0.1%
    2     356.1     0.487    0.1%
    3     417.3     1.155    0.2%
    4     479.6     0.644    0.1%
    5     540.5     4.904    0.9%
    6     614.3     17.27    2.8%
    7     663.2       2.2    0.3%
    8     723.4     2.538    0.3%
    9     789.6      12.2    1.5%
   10     847.6     7.213    0.8%
   11     910.3     10.44    1.1%
   12     974.8     10.52    1.0%
   13      1025     1.597    0.1%
   14      1094     1.659    0.1%
   15      1159     11.69    1.0%
   16      1221     12.69    1.0%
   17      1291     11.34    0.8%
   18      1359     7.247    0.5%
   19      1399     10.44    0.7%
   20      1471     15.33    1.0%

Quality and confidence:
param     error
r         0.117

Model:
Time ~=    230.8
    + r    61.97
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    246.7
    + r    158.7
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.3     0.146    0.0%
    1     390.8     0.355    0.0%
    2     549.1     1.236    0.2%
    3     710.2     10.02    1.4%
    4       870     10.88    1.2%
    5      1021      7.46    0.7%
    6      1204     4.376    0.3%
    7      1364     3.134    0.2%
    8      1538     3.767    0.2%
    9      1686     5.001    0.2%
   10      1843     2.643    0.1%
   11      2047     5.375    0.2%
   12      2214     6.524    0.2%
   13      2331     16.05    0.6%
   14      2456     7.932    0.3%
   15      2604      15.3    0.5%
   16      2754     14.37    0.5%
   17      2919     11.07    0.3%
   18      3081      12.8    0.4%
   19      3260     10.39    0.3%
   20      3404     15.07    0.4%

Quality and confidence:
param     error
r           0.3

Model:
Time ~=      246
    + r    158.6
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    142.1
    + r    26.76
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     140.4     1.072    0.7%
    1     172.8     2.334    1.3%
    2     196.8     0.976    0.4%
    3     225.1     1.272    0.5%
    4       246     1.777    0.7%
    5     273.2     2.233    0.8%
    6     300.2     3.217    1.0%
    7     329.3     1.423    0.4%
    8     350.9     3.874    1.1%
    9     373.5     1.566    0.4%
   10       403     3.924    0.9%
   11     435.9     5.593    1.2%
   12       467     4.042    0.8%
   13     485.4     5.055    1.0%
   14     533.1     4.875    0.9%
   15     539.5     7.504    1.3%
   16     576.3     5.539    0.9%
   17     600.4      4.94    0.8%
   18     618.9     8.052    1.3%
   19     655.6     4.252    0.6%
   20       683     7.551    1.1%

Quality and confidence:
param     error
r          0.08

Model:
Time ~=    139.9
    + r    26.98
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=      232
    + r    56.79
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.1     0.211    0.0%
    1     288.1     0.273    0.0%
    2     346.1     0.421    0.1%
    3     404.6     4.254    1.0%
    4       460     0.634    0.1%
    5     516.1     1.242    0.2%
    6     571.3     0.971    0.1%
    7     636.9     11.15    1.7%
    8     687.3     1.749    0.2%
    9     743.4     2.542    0.3%
   10     807.6     7.809    0.9%
   11     863.7      14.3    1.6%
   12     926.8     9.287    1.0%
   13     967.6     1.418    0.1%
   14      1041     13.59    1.3%
   15      1091     12.49    1.1%
   16      1151     12.91    1.1%
   17      1206     13.38    1.1%
   18      1264     16.54    1.3%
   19      1307     3.964    0.3%
   20      1373     15.13    1.1%

Quality and confidence:
param     error
r         0.116

Model:
Time ~=    231.4
    + r    57.26
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    319.4
    + n    10.59
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0       288     0.224    0.0%
   20     509.6     2.256    0.4%
   40       734     9.399    1.2%
   60       951     14.05    1.4%
   80      1160     10.06    0.8%
  100      1376     11.96    0.8%
  120      1588     14.29    0.8%
  140      1803     11.28    0.6%
  160      2019     17.78    0.8%
  180      2230     12.34    0.5%
  200      2451     11.04    0.4%
  220      2654     13.81    0.5%
  240      2874     24.54    0.8%
  260      3078     13.27    0.4%
  280      3304     23.83    0.7%
  300      3514      17.2    0.4%
  320      3723     11.31    0.3%
  340      3945     40.84    1.0%
  360      4154      24.9    0.5%
  380      4338      24.4    0.5%
  400      4592     18.01    0.3%
  420      4769     18.14    0.3%
  440      4985     18.28    0.3%
  460      5185     14.42    0.2%
  480      5407     23.68    0.4%
  500      5628     31.86    0.5%
  520      5860     43.89    0.7%
  540      6072     56.59    0.9%
  560      6244     30.84    0.4%
  580      6464     19.75    0.3%
  600      6648     35.05    0.5%
  620      6898     38.06    0.5%
  640      7101     23.29    0.3%
  660      7291     33.37    0.4%
  680      7539     44.91    0.5%
  700      7753     69.85    0.9%
  720      7981     44.97    0.5%
  740      8191     40.83    0.4%
  760      8337     36.25    0.4%
  780      8573     49.14    0.5%
  800      8775      39.7    0.4%
  820      8977     41.96    0.4%
  840      9250     45.36    0.4%
  860      9430     56.15    0.5%
  880      9634     42.53    0.4%
  900      9818     43.55    0.4%
  920     10050      29.6    0.2%
  940     10320     39.12    0.3%
  960     10440      36.4    0.3%
  980     10770     31.41    0.2%
 1000     10920     54.84    0.5%
 1020     11130      51.7    0.4%

Quality and confidence:
param     error
n         0.005

Model:
Time ~=    320.2
    + n     10.6
              µs

Reads = 4 + (0 * n)
Writes = 1 + (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:0)
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 ~=    224.2
    + r    2.303
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     224.2     0.211    0.0%
    1     226.5     0.149    0.0%

Quality and confidence:
param     error
r         0.086

Model:
Time ~=    224.2
    + r    2.246
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    226.7
    + n    0.181
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     226.4      0.13    0.0%
   20     230.1     0.305    0.1%
   40     233.3     0.401    0.1%
   60     237.1     0.437    0.1%
   80     241.2     0.325    0.1%
  100     244.5     0.295    0.1%
  120       248     0.354    0.1%
  140       251     0.979    0.3%
  160     255.1     0.879    0.3%
  180     259.1     0.696    0.2%
  200     266.2     2.954    1.1%
  220     265.5     1.183    0.4%
  240     269.6     0.979    0.3%
  260     273.7     0.279    0.1%
  280     277.5     0.212    0.0%
  300     280.7     0.294    0.1%
  320     281.8     1.953    0.6%
  340     288.2     0.203    0.0%
  360     290.8     2.019    0.6%
  380     295.3     0.285    0.0%
  400     297.8     2.349    0.7%
  420     300.9     2.423    0.8%
  440     305.9     1.635    0.5%
  460     309.6     1.871    0.6%
  480     316.1     5.663    1.7%
  500     315.4     2.678    0.8%
  520     321.1     0.437    0.1%
  540     326.4     3.871    1.1%
  560     325.1     4.059    1.2%
  580     332.2     0.417    0.1%
  600     335.4     0.192    0.0%
  620     339.4     0.437    0.1%
  640     342.3     2.719    0.7%
  660     346.8     0.407    0.1%
  680     350.6     0.319    0.0%
  700     352.9     2.804    0.7%
  720     356.6     2.958    0.8%
  740     359.4     4.236    1.1%
  760     360.7      4.88    1.3%
  780     366.4     4.141    1.1%
  800     369.1      5.07    1.3%
  820     376.6     1.586    0.4%
  840     373.5     5.527    1.4%
  860     381.5      5.95    1.5%
  880     384.9     4.751    1.2%
  900     384.1     6.132    1.5%
  920     394.4     0.683    0.1%
  940     396.3      3.66    0.9%
  960     400.3     2.805    0.7%
  980     410.7     10.14    2.4%
 1000     403.3     6.776    1.6%
 1020     411.5     4.865    1.1%

Quality and confidence:
param     error
n             0

Model:
Time ~=    226.5
    + n     0.18
              µs

Reads = 4 + (0 * n)
Writes = 1 + (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:0)
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 ~=      228
    + r    68.61
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       228     0.207    0.0%
    1     296.6     0.315    0.1%

Quality and confidence:
param     error
r         0.125

Model:
Time ~=      228
    + r    68.61
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_random", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    237.3
    + r    223.2
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.1       0.2    0.0%
    1     456.1     0.313    0.0%
    2     680.4     1.073    0.1%
    3     919.5     10.34    1.1%
    4      1132      13.4    1.1%
    5      1354     9.678    0.7%
    6      1577     14.17    0.8%
    7      1799     14.97    0.8%
    8      2026     14.71    0.7%
    9      2260     10.91    0.4%
   10      2466     12.65    0.5%
   11      2703      2.76    0.1%
   12      2927     6.437    0.2%
   13      3137     11.31    0.3%
   14      3379     12.02    0.3%
   15      3578     16.43    0.4%
   16      3806     12.59    0.3%
   17      4043     8.589    0.2%
   18      4253     7.385    0.1%
   19      4479     14.29    0.3%
   20      4701     18.92    0.4%

Quality and confidence:
param     error
r         0.154

Model:
Time ~=    237.9
    + r    223.4
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    242.1
    + r    382.9
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     227.6     2.499    1.0%
    1     621.9     0.756    0.1%
    2      1004     8.421    0.8%
    3      1399     16.51    1.1%
    4      1774     14.42    0.8%
    5      2157        12    0.5%
    6      2547     10.29    0.4%
    7      2937     7.444    0.2%
    8      3308     14.82    0.4%
    9      3689     14.61    0.3%
   10      4083     16.02    0.3%
   11      4459      19.4    0.4%
   12      4845     15.74    0.3%
   13      5222     15.21    0.2%
   14      5622     29.07    0.5%
   15      5977     9.418    0.1%
   16      6365     9.551    0.1%
   17      6747     16.54    0.2%
   18      7140     12.91    0.1%
   19      7521     15.34    0.2%
   20      7909     15.61    0.1%

Quality and confidence:
param     error
r         0.185

Model:
Time ~=      242
    + r    383.2
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    660.2
    + t    405.4
    + n    81.77
              µ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      1912     13.14    0.6%
    1    16      2400      16.9    0.7%
    2    16      2794     18.05    0.6%
    3    16      3187     16.36    0.5%
    4     0      2242     13.15    0.5%
    4     1      2354     13.01    0.5%
    4     2      2416     9.606    0.3%
    4     3      2509     13.92    0.5%
    4     4      2579     12.46    0.4%
    4     5      2633     11.19    0.4%
    4     6      2689     17.09    0.6%
    4     7      2820     26.55    0.9%
    4     8      2865     11.68    0.4%
    4     9      2966     17.41    0.5%
    4    10      3060     9.458    0.3%
    4    11      3113     12.93    0.4%
    4    12      3200     13.18    0.4%
    4    13      3320     22.96    0.6%
    4    14      3409     6.854    0.2%
    4    15      3465     12.13    0.3%
    4    16      3581     12.04    0.3%

Quality and confidence:
param     error
t         2.142
n         0.422

Model:
Time ~=    636.8
    + t    399.8
    + n    82.89
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 1 + (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:0)
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 ~=    148.3
    + r    40.74
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       144     0.141    0.0%
    1       189     0.141    0.0%
    2     229.8     0.254    0.1%
    3     270.9     1.142    0.4%
    4     310.4     0.554    0.1%
    5     349.6     1.105    0.3%
    6     394.9     0.716    0.1%
    7     436.5     3.714    0.8%
    8     482.4     11.63    2.4%
    9     512.7     1.021    0.1%
   10     556.1     7.999    1.4%
   11     599.9     1.717    0.2%
   12     639.8     1.619    0.2%
   13     682.7     8.629    1.2%
   14     719.1     2.786    0.3%
   15     762.4      2.45    0.3%
   16     799.1      3.82    0.4%
   17     843.5     12.36    1.4%
   18       885     10.02    1.1%
   19     918.1     1.579    0.1%
   20     969.7     13.38    1.3%

Quality and confidence:
param     error
r         0.076

Model:
Time ~=    147.8
    + r    40.91
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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 ~=    228.8
    + r    293.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.5     0.188    0.0%
    1     550.8     1.202    0.2%
    2     839.8      11.7    1.3%
    3      1113     3.214    0.2%
    4      1408     11.93    0.8%
    5      1693     9.162    0.5%
    6      1982     15.61    0.7%
    7      2245      14.2    0.6%
    8      2521      12.8    0.5%
    9      2884     11.91    0.4%
   10      3166     15.12    0.4%
   11      3443     8.842    0.2%
   12      3723     14.86    0.3%
   13      4030     11.41    0.2%
   14      4290     15.25    0.3%
   15      4591     10.88    0.2%
   16      4877      27.1    0.5%
   17      5195     18.46    0.3%
   18      5644     23.88    0.4%
   19      5888     15.72    0.2%
   20      6180     12.31    0.1%

Quality and confidence:
param     error
r         0.538

Model:
Time ~=    213.1
    + r    295.3
              µs

Reads = 5 + (100 * r)
Writes = 3 + (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:2 w:2)
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 ~=    444.9
    + n    27.59
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     427.8     0.656    0.1%
    1     469.5     1.007    0.2%
    2     501.8     0.623    0.1%
    3       532     2.083    0.3%
    4     557.3     2.138    0.3%
    5     579.1     2.888    0.4%
    6       613     4.892    0.7%
    7     646.9     10.62    1.6%
    8     662.8      4.72    0.7%
    9     702.8     11.59    1.6%
   10     715.3     14.71    2.0%
   11     757.2     11.55    1.5%
   12     780.3      7.81    1.0%
   13     809.5     8.238    1.0%
   14     828.5     4.853    0.5%
   15       838     6.861    0.8%
   16     893.8     14.13    1.5%

Quality and confidence:
param     error
n          0.18

Model:
Time ~=    443.2
    + n     27.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 ~=        0
    + r    828.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.3     0.355    0.1%
    1       875      11.9    1.3%
    2      1581     17.61    1.1%
    3      2360     20.04    0.8%
    4      3130     13.74    0.4%
    5      3921     18.77    0.4%
    6      4726     12.24    0.2%
    7      5472     14.11    0.2%
    8      6247      11.4    0.1%
    9      7184     27.27    0.3%
   10      7962     21.06    0.2%
   11      8822     23.94    0.2%
   12      9623     20.68    0.2%
   13     10530     19.77    0.1%
   14     11360     43.12    0.3%
   15     12180      33.1    0.2%
   16     13090     35.78    0.2%
   17     13880     26.88    0.1%
   18     14990     20.46    0.1%
   19     15980      52.5    0.3%
   20     16840     42.26    0.2%

Quality and confidence:
param     error
r         2.231

Model:
Time ~=        0
    + r    832.9
              µ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 ~=    101.1
    + r    413.1
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       230     0.352    0.1%
    1     582.1     4.222    0.7%
    2     957.1     11.15    1.1%
    3      1344     4.403    0.3%
    4      1730     9.624    0.5%
    5      2142      14.5    0.6%
    6      2533     7.727    0.3%
    7      2928     12.78    0.4%
    8      3337     18.81    0.5%
    9      3794     9.766    0.2%
   10      4171     19.58    0.4%
   11      4598     23.45    0.5%
   12      5045     28.86    0.5%
   13      5427     28.31    0.5%
   14      5848     24.41    0.4%
   15      6307     27.08    0.4%
   16      6742     34.03    0.5%
   17      7125     41.99    0.5%
   18      7607     28.46    0.3%
   19      8056     38.72    0.4%
   20      8478     40.49    0.4%

Quality and confidence:
param     error
r         0.724

Model:
Time ~=    90.94
    + r    414.6
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_contains_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 ~=    6.804
    + r    548.2
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     228.4     0.249    0.1%
    1     661.3     3.526    0.5%
    2      1143     9.332    0.8%
    3      1635     12.38    0.7%
    4      2166      10.8    0.4%
    5      2733     18.81    0.6%
    6      3271     9.955    0.3%
    7      3792     18.37    0.4%
    8      4297     28.96    0.6%
    9      4878     36.49    0.7%
   10      5438     21.89    0.4%
   11      6000     20.77    0.3%
   12      6552     27.59    0.4%
   13      7137      31.3    0.4%
   14      7675      37.7    0.4%
   15      8278     54.05    0.6%
   16      8776     73.63    0.8%
   17      9322     45.68    0.4%
   18      9968     46.96    0.4%
   19     10620     52.64    0.4%
   20     11140     66.29    0.5%

Quality and confidence:
param     error
r         1.057

Model:
Time ~=    5.524
    + r    550.5
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    407.7
    + n    56.03
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     389.8     0.515    0.1%
    1     462.1      9.81    2.1%
    2     529.9     12.04    2.2%
    3     575.8     2.036    0.3%
    4     632.8     0.462    0.0%
    5     689.3     5.795    0.8%
    6     743.8     7.852    1.0%
    7     821.5     10.08    1.2%
    8     855.6     11.09    1.2%
    9     916.3     8.667    0.9%
   10     971.1     13.12    1.3%
   11      1034     16.91    1.6%
   12      1076     9.391    0.8%
   13      1144     15.52    1.3%
   14      1188        13    1.0%
   15      1255     12.45    0.9%
   16      1308      12.5    0.9%

Quality and confidence:
param     error
n         0.205

Model:
Time ~=    406.5
    + n     56.5
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_take_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 ~=    85.74
    + r    516.7
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     230.4     0.183    0.0%
    1     692.2     1.887    0.2%
    2      1160     10.58    0.9%
    3      1659     9.133    0.5%
    4      2127     15.28    0.7%
    5      2635      13.2    0.5%
    6      3147     18.82    0.5%
    7      3646     11.56    0.3%
    8      4119      15.7    0.3%
    9      4731     22.38    0.4%
   10      5217     16.75    0.3%
   11      5734     20.99    0.3%
   12      6273     19.16    0.3%
   13      6748     14.26    0.2%
   14      7283     31.84    0.4%
   15      7796     26.27    0.3%
   16      8322     27.45    0.3%
   17      8875     31.88    0.3%
   18      9509     31.55    0.3%
   19     10110     30.68    0.3%
   20     10610     31.89    0.3%

Quality and confidence:
param     error
r         0.975

Model:
Time ~=    72.98
    + r    519.5
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_take_storage_per_kb", 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 ~=    783.3
    + n    64.15
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     693.7     2.518    0.3%
    1     828.4     8.762    1.0%
    2     921.3     9.683    1.0%
    3       983     2.867    0.2%
    4      1054     10.17    0.9%
    5      1115     13.33    1.1%
    6      1187     14.94    1.2%
    7      1229     1.215    0.0%
    8      1297     9.863    0.7%
    9      1357      13.6    1.0%
   10      1412     10.77    0.7%
   11      1467      11.9    0.8%
   12      1536     12.61    0.8%
   13      1604     12.58    0.7%
   14      1681     11.66    0.6%
   15      1757     13.02    0.7%
   16      1807     12.12    0.6%

Quality and confidence:
param     error
n         0.405

Model:
Time ~=    767.8
    + n    65.31
              µs

Reads = 105 + (0 * n)
Writes = 103 + (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:0)
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 ~=    134.9
    + r     2459
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     230.1     0.254    0.1%
    1      2634     8.657    0.3%
    2      5101     16.84    0.3%
    3      7529     19.17    0.2%
    4      9948     38.09    0.3%
    5     12330     27.09    0.2%
    6     14800     33.72    0.2%
    7     17240     30.16    0.1%
    8     19750      26.6    0.1%
    9     22130     26.34    0.1%
   10     24750     61.13    0.2%
   11     27130     75.72    0.2%
   12     29600     45.19    0.1%
   13     32040     36.22    0.1%
   14     34460     32.05    0.0%
   15     37070     56.71    0.1%
   16     39630     31.84    0.0%
   17     41750     83.59    0.2%
   18     44560     33.98    0.0%
   19     46820     51.15    0.1%
   20     49580     57.78    0.1%

Quality and confidence:
param     error
r         1.294

Model:
Time ~=    97.67
    + r     2462
              µs

Reads = 5 + (100 * r)
Writes = 2 + (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:0)
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 ~=        0
    + r    20870
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     230.1     0.285    0.1%
    1     20920     26.87    0.1%
    2     41770     53.43    0.1%
    3     62480     47.25    0.0%
    4     83300     42.89    0.0%
    5    104200     128.8    0.1%
    6    124900     134.7    0.1%
    7    145600     88.12    0.0%
    8    166500     86.56    0.0%
    9    187700     111.4    0.0%
   10    208300     75.08    0.0%
   11    229400     140.5    0.0%
   12    250200     147.1    0.0%
   13    270700     81.07    0.0%
   14    291700     110.2    0.0%
   15    312900<truncated>...

@athei athei added A3-in_progress Pull request is in progress. No review needed at this stage. and removed A1-onice labels Jan 20, 2022
@athei
Copy link
Member Author

athei commented Jan 20, 2022

I am currently running a benchmark here with cgu=1. Let's see if this changes anything.

…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
Copy link
Member Author

athei commented Jan 20, 2022

With cgu=1 the instruction benchmarks are much better now. Even better as with the old version. Let's see if we can get this change in.

@Robbepop
Copy link
Contributor

Robbepop commented Jan 20, 2022

That's great news! Especially for the upcoming v1 engine that heavily relies on cgu=1.

Ideally we'd check if using wasmi version 0.9.1 and cgu=1 results in even better results.

@@ -229,6 +229,7 @@ fn create_project_cargo_toml(
let mut release_profile = Table::new();
release_profile.insert("panic".into(), "abort".into());
release_profile.insert("lto".into(), true.into());
release_profile.insert("codegen-units".into(), 1.into());
Copy link
Member

Choose a reason for hiding this comment

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

Do you think it makes sense to have a production profile here as to reduce compile time for the normal dev-flow?
Polkadot opted for it, and Substrate in general as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah this would make sense. This is just an ad-hoc commit that will not be merged. However, it is already build with lto for every release build. Do you think cgu=1 is so much slower that it is worth an extra profile?

Copy link
Member

Choose a reason for hiding this comment

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

I just tested it on my laptop, the compile time was always ~25s.
So it probably makes no difference for small binaries and is not worth the effort here.

Copy link
Contributor

Choose a reason for hiding this comment

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

I did some benchmarks in #1262, it does make things significantly slower (tested node-runtime and Polkadot compilation there).

Also note that release_profile.insert("lto".into(), true.into()); is -C lto, not -C lto=fat!

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
Contributor

Choose a reason for hiding this comment

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

I reproducibly get 2 different sizes when switching between -C lto and -C lto=fat. Created zulip thread about this: https://rust-lang.zulipchat.com/#narrow/stream/122652-new-members/topic/-C.20lto.20and.20-C.20lto-fat.20are.20different.3F

Copy link
Contributor

@Robbepop Robbepop Jan 22, 2022

Choose a reason for hiding this comment

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

I just tested wasmi with lto="fat" and lto=true and I received the same outputs everytime. In some cases Cargo did not even bother to recompile the crate. So I cannot confirm your observations unfortunately.

Copy link
Contributor

Choose a reason for hiding this comment

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

I was adding .append_to_rust_flags("-C lto=fat") to build.rs, I guess you changed those lines above instead? Not sure how there could be any difference though.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes I just changed the lines that @athei also changed.

Copy link
Member Author

@athei athei Jan 24, 2022

Choose a reason for hiding this comment

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

If you append it to the build flags in the build.rs you will have essentially both: true in the profile (set by the substrate-wasm-builder as per my patch) and then the hard coded flags (as set by you). Not sure why this makes a difference. Unless, the substrate-wasm-builder uses its dev profile 😱

@athei
Copy link
Member Author

athei commented Jan 24, 2022

I compared the benchmark results of this PR with the ones of #10709. With lto=fat and cgu=1 0.11 performs better than the old version. Instructions are faster and host functions, too.

We merge this as soon as the runtime is build with those flags for production/benchmarks @ggwpez and we ran a burn in.

@athei
Copy link
Member Author

athei commented Jan 31, 2022

/benchmark runtime pallet pallet_contracts

@parity-benchapp
Copy link

parity-benchapp bot commented Jan 31, 2022

Benchmark Runtime Pallet for branch "at-bump-wasmi" with command cargo run --quiet --profile=production --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

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

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 ~=    1.656
              µs

Reads = 1
Writes = 0

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

Model:
Time ~=    1.656
              µ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 ~=     6.88
    + k     0.75
              µs

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

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

Data points distribution:
    k   mean µs  sigma µs       %
    0     10.05     0.075    0.7%
   20     26.37       0.1    0.3%
   40     40.44     0.221    0.5%
   60     52.83      0.23    0.4%
   80     65.02     0.249    0.3%
  100     79.71     0.305    0.3%
  120     93.24     0.297    0.3%
  140     109.1      0.35    0.3%
  160     122.8     0.608    0.4%
  180     138.2     0.514    0.3%
  200     153.1     0.477    0.3%
  220     169.2      0.61    0.3%
  240     184.9      0.79    0.4%
  260     198.4     0.496    0.2%
  280     215.5      1.04    0.4%
  300     229.5     1.432    0.6%
  320       246     0.983    0.3%
  340     260.2     0.969    0.3%
  360       277     1.392    0.5%
  380     291.5      1.15    0.3%
  400     308.4     0.766    0.2%
  420     325.1     1.122    0.3%
  440     341.1     0.869    0.2%
  460     353.4     1.555    0.4%
  480     371.8     1.612    0.4%
  500     386.4     2.505    0.6%
  520     402.4     1.524    0.3%
  540     417.3     1.338    0.3%
  560     432.9     3.599    0.8%
  580     445.5     0.631    0.1%
  600     460.9     1.282    0.2%
  620     476.3     1.512    0.3%
  640     485.4     1.638    0.3%
  660     508.5     7.217    1.4%
  680       522     6.474    1.2%
  700     532.6     1.313    0.2%
  720     549.9     0.913    0.1%
  740     564.3     1.282    0.2%
  760     578.6     2.816    0.4%
  780     589.7     1.304    0.2%
  800     607.7     5.568    0.9%
  820     619.4     1.372    0.2%
  840     638.8     2.946    0.4%
  860     690.2      5.55    0.8%
  880       666     2.459    0.3%
  900     680.1     2.035    0.2%
  920     692.2     1.351    0.1%
  940     709.1     2.769    0.3%
  960     720.8      2.01    0.2%
  980     743.3     8.996    1.2%
 1000     748.5     1.509    0.2%
 1020     767.9     7.162    0.9%

Quality and confidence:
param     error
k             0

Model:
Time ~=    6.797
    + k    0.752
              µ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 ~=    12.11
    + q    2.273
              µs

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

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

Data points distribution:
    q   mean µs  sigma µs       %
    0      1.77     0.062    3.5%
   20     57.84     0.318    0.5%
   40     103.8     0.536    0.5%
   60     153.7     0.812    0.5%
   80     197.5     1.686    0.8%
  100     241.5     1.033    0.4%
  120     291.6     2.981    1.0%
  140     341.6     3.256    0.9%
  160     380.6     5.494    1.4%
  180     407.8     2.511    0.6%
  200     464.9     3.773    0.8%
  220     508.5     4.373    0.8%
  240     568.9     3.879    0.6%
  260     628.4     5.806    0.9%
  280     655.7     4.413    0.6%
  300     694.3     5.604    0.8%
  320     739.5     5.925    0.8%
  340     767.4     8.135    1.0%
  360     813.9     3.952    0.4%
  380     872.7     8.338    0.9%
  400       915     9.926    1.0%
  420       959     11.95    1.2%
  440      1010      13.2    1.3%
  460      1035     10.66    1.0%
  480      1089     14.01    1.2%
  500      1139     11.34    0.9%
  520      1174     21.31    1.8%
  540      1211     10.13    0.8%
  560      1258     8.177    0.6%
  580      1274     11.16    0.8%
  600      1335     10.73    0.8%
  620      1394      20.8    1.4%
  640      1471     16.16    1.0%
  660      1493     14.42    0.9%
  680      1536     5.824    0.3%
  700      1593     14.83    0.9%
  720      1659     19.09    1.1%
  740      1694     11.94    0.7%
  760      1644     14.32    0.8%
  780      1785     13.25    0.7%
  800      1810     29.18    1.6%
  820      1885     13.63    0.7%
  840      1943     13.77    0.7%
  860      1926     17.98    0.9%
  880      2012     16.75    0.8%
  900      2107      29.9    1.4%
  920      2150     13.89    0.6%
  940      2129     11.21    0.5%
  960      2279      17.8    0.7%
  980      2283     24.75    1.0%
 1000      2332     21.06    0.9%
 1020      2417     11.21    0.4%

Quality and confidence:
param     error
q         0.004

Model:
Time ~=        0
    + q    2.295
              µs

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

Pallet: "pallet_contracts", Extrinsic: "reinstrument", 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 ~=    25.99
    + c    64.94
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0      32.2     0.164    0.5%
    2     165.4     0.481    0.2%
    4     290.3     0.389    0.1%
    6       416     4.454    1.0%
    8     546.4     0.986    0.1%
   10     684.7     16.82    2.4%
   12     795.6     0.898    0.1%
   14     952.4     17.25    1.8%
   16      1078     15.02    1.3%
   18      1194      12.9    1.0%
   20      1320     15.14    1.1%
   22      1433     8.283    0.5%
   24      1583        10    0.6%
   26      1718     17.31    1.0%
   28      1850     12.38    0.6%
   30      1965     12.47    0.6%
   32      2083     8.439    0.4%
   34      2238     13.59    0.6%
   36      2360     11.92    0.5%
   38      2477     12.86    0.5%
   40      2613      9.69    0.3%
   42      2726     12.54    0.4%
   44      2849     14.16    0.4%
   46      2998      19.2    0.6%
   48      3107     9.009    0.2%
   50      3304     24.51    0.7%
   52      3419     14.62    0.4%
   54      3546     8.541    0.2%
   56      3676     16.44    0.4%
   58      3791     14.65    0.3%
   60      3940     20.24    0.5%
   62      4092     10.92    0.2%
   64      4171     10.35    0.2%
   66      4325     10.38    0.2%
   68      4442     10.14    0.2%
   70      4572     15.22    0.3%
   72      4708     25.36    0.5%
   74      4810     9.141    0.1%
   76      4939     19.42    0.3%
   78      5067     17.78    0.3%
   80      5184     17.87    0.3%
   82      5322     16.91    0.3%
   84      5458     14.11    0.2%
   86      5583     18.61    0.3%
   88      5693     20.87    0.3%
   90      5819     23.18    0.3%
   92      5924     16.27    0.2%
   94      6075     20.68    0.3%
   96      6173     10.93    0.1%
   98      6455     9.568    0.1%
  100      6588     18.02    0.2%
  102      6690     23.43    0.3%
  104      6816      18.1    0.2%
  106      6950     25.86    0.3%
  108      7102     22.69    0.3%
  110      7239     25.09    0.3%
  112      7319     27.17    0.3%
  114      7453     15.86    0.2%
  116      7596     31.42    0.4%
  118      7706     24.59    0.3%
  120      7839     35.84    0.4%
  122      7961     20.65    0.2%
  124      8080     28.66    0.3%
  126      8210     20.71    0.2%
  128      8329     22.38    0.2%

Quality and confidence:
param     error
c         0.036

Model:
Time ~=    18.88
    + c    65.05
              µs

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

Pallet: "pallet_contracts", Extrinsic: "call_with_code_kb", 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 ~=    303.1
    + c    55.01
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     310.6      4.47    1.4%
    2     417.2     0.297    0.0%
    4     526.3     0.405    0.0%
    6     641.6     14.35    2.2%
    8     743.7     1.387    0.1%
   10     853.4     12.52    1.4%
   12     949.6     3.588    0.3%
   14      1076     2.784    0.2%
   16      1191     13.46    1.1%
   18      1297     17.41    1.3%
   20      1384       6.2    0.4%
   22      1494     12.67    0.8%
   24      1599     12.48    0.7%
   26      1744     13.52    0.7%
   28      1846     11.73    0.6%
   30      1945     11.83    0.6%
   32      2056     15.79    0.7%
   34      2190     6.931    0.3%
   36      2274     13.92    0.6%
   38      2372     13.58    0.5%
   40      2472      15.7    0.6%
   42      2585     18.79    0.7%
   44      2688     17.75    0.6%
   46      2788     8.565    0.3%
   48      2882      13.3    0.4%
   50      3102     17.89    0.5%
   52      3191      11.9    0.3%
   54      3293     12.11    0.3%
   56      3396     14.32    0.4%
   58      3488     13.46    0.3%
   60      3612     9.917    0.2%
   62      3718     17.75    0.4%
   64      3872     22.95    0.5%
   66      3927     11.94    0.3%
   68      4030     9.813    0.2%
   70      4129     20.53    0.4%
   72      4241     11.25    0.2%
   74      4338     10.41    0.2%
   76      4440     24.69    0.5%
   78      4541     17.24    0.3%
   80      4647     12.45    0.2%
   82      4754     12.38    0.2%
   84      4892     43.84    0.8%
   86      4958      12.9    0.2%
   88      5063     15.81    0.3%
   90      5158     4.827    0.0%
   92      5275     20.22    0.3%
   94      5367     12.33    0.2%
   96      5474     18.26    0.3%
   98      5780     26.17    0.4%
  100      5867     8.545    0.1%
  102      5979     19.68    0.3%
  104      6088     18.14    0.2%
  106      6189     22.52    0.3%
  108      6387     27.53    0.4%
  110      6387     15.23    0.2%
  112      6504     18.38    0.2%
  114      6606     15.45    0.2%
  116      6708     14.41    0.2%
  118      6913     27.56    0.3%
  120      6913     28.52    0.4%
  122      7002      22.5    0.3%
  124      7114     16.16    0.2%
  126      7215      14.7    0.2%
  128      7324     22.67    0.3%

Quality and confidence:
param     error
c         0.052

Model:
Time ~=    289.7
    + c    55.14
              µs

Reads = 4 + (0 * c)
Writes = 2 + (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:1)
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 ~=      350
    + c    142.1
    + s    1.784
              µs

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

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

Data points distribution:
    c     s   mean µs  sigma µs       %
    0  1024      2204     12.64    0.5%
    1  1024      2345     11.28    0.4%
    2  1024      2483     17.57    0.7%
    3  1024      2465     15.34    0.6%
    4  1024      2775      4.15    0.1%
    5  1024      2907     12.65    0.4%
    6  1024      2883     13.97    0.4%
    7  1024      3188     12.86    0.4%
    8  1024      3343     17.66    0.5%
    9  1024      3310     13.55    0.4%
   10  1024      3619     11.13    0.3%
   11  1024      3767     11.12    0.2%
   12  1024      3719     16.32    0.4%
   13  1024      4052     10.05    0.2%
   14  1024      4185      6.16    0.1%
   15  1024      4162     26.27    0.6%
   16  1024      4453     15.66    0.3%
   17  1024      4628     12.86    0.2%
   18  1024      4624     8.455    0.1%
   19  1024      4903     23.31    0.4%
   20  1024      5026     17.29    0.3%
   21  1024      5010     17.21    0.3%
   22  1024      5308     12.87    0.2%
   23  1024      5438     21.99    0.4%
   24  1024      5411      19.4    0.3%
   25  1024      5776     13.69    0.2%
   26  1024      5906     15.27    0.2%
   27  1024      5953     21.31    0.3%
   28  1024      6187     20.56    0.3%
   29  1024      6298     20.11    0.3%
   30  1024      6283      16.8    0.2%
   31  1024      6596     17.37    0.2%
   32  1024      6709     10.31    0.1%
   33  1024      6765     17.46    0.2%
   34  1024      7060     20.84    0.2%
   35  1024      7226     22.14    0.3%
   36  1024      7180     26.31    0.3%
   37  1024      7470     28.95    0.3%
   38  1024      7616     19.87    0.2%
   39  1024      7585     20.18    0.2%
   40  1024      7960     65.61    0.8%
   41  1024      8017     28.53    0.3%
   42  1024      8003     26.42    0.3%
   43  1024      8293     21.04    0.2%
   44  1024      8458      49.6    0.5%
   45  1024      8401     16.16    0.1%
   46  1024      8737     54.56    0.6%
   47  1024      8825     24.98    0.2%
   48  1024      8820     28.66    0.3%
   49  1024      9234     30.64    0.3%
   50  1024      9379     51.27    0.5%
   51  1024      9306     19.17    0.2%
   52  1024      9647     43.71    0.4%
   53  1024      9771     48.71    0.4%
   54  1024      9709     16.29    0.1%
   55  1024     10040     26.15    0.2%
   56  1024     10130     20.34    0.2%
   57  1024     10130     29.38    0.2%
   58  1024     10410     37.64    0.3%
   59  1024     10610     53.57    0.5%
   60  1024     10540      33.3    0.3%
   61  1024     10870     37.94    0.3%
   62     0      9111      18.7    0.2%
   62    20      9167     45.94    0.5%
   62    40      9204     39.73    0.4%
   62    60      9223     32.89    0.3%
   62    80      9277     33.84    0.3%
   62   100      9308     24.19    0.2%
   62   120      9339     31.12    0.3%
   62   140      9374     27.96    0.2%
   62   160      9397     28.29    0.3%
   62   180      9437     31.59    0.3%
   62   200      9471     18.36    0.1%
   62   220      9508     28.92    0.3%
   62   240      9536     37.51    0.3%
   62   260      9588     29.81    0.3%
   62   280      9609     29.34    0.3%
   62   300      9653     33.66    0.3%
   62   320      9676     13.81    0.1%
   62   340      9724     22.64    0.2%
   62   360      9754     15.07    0.1%
   62   380      9805     26.42    0.2%
   62   400      9838        27    0.2%
   62   420      9882     27.27    0.2%
   62   440      9903     18.15    0.1%
   62   460      9953      38.4    0.3%
   62   480      9993     20.74    0.2%
   62   500      9997     24.23    0.2%
   62   520     10050     30.53    0.3%
   62   540     10070     22.77    0.2%
   62   560     10120     37.07    0.3%
   62   580     10150     18.42    0.1%
   62   600     10170     31.76    0.3%
   62   620     10210     34.35    0.3%
   62   640     10270     32.58    0.3%
   62   660     10300     28.22    0.2%
   62   680     10350     27.99    0.2%
   62   700     10360     23.85    0.2%
   62   720     10420     33.93    0.3%
   62   740     10440     28.17    0.2%
   62   760     10470     24.76    0.2%
   62   780     10490     29.35    0.2%
   62   800     10540     39.12    0.3%
   62   820     10600     34.16    0.3%
   62   840     10620        22    0.2%
   62   860     10660     41.15    0.3%
   62   880     10690     21.88    0.2%
   62   900     10750     36.64    0.3%
   62   920     10750     26.53    0.2%
   62   940     10770      21.3    0.1%
   62   960     10820     29.28    0.2%
   62   980     10850     30.64    0.2%
   62  1000     10890     22.22    0.2%
   62  1020     10910      17.8    0.1%
   62  1024     10970     35.12    0.3%

Quality and confidence:
param     error
c         0.122
s         0.007

Model:
Time ~=    312.7
    + c      142
    + s    1.798
              µs

Reads = 5 + (0 * c) + (0 * s)
Writes = 6 + (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:1)
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 ~=    221.5
    + s    1.748
              µs

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

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

Data points distribution:
    s   mean µs  sigma µs       %
    0     219.4     0.196    0.0%
   20     255.1     0.352    0.1%
   40     290.8     0.338    0.1%
   60       328      4.09    1.2%
   80     361.9     1.106    0.3%
  100     396.2     0.361    0.0%
  120       431     0.341    0.0%
  140     465.4     0.387    0.0%
  160     511.3      7.34    1.4%
  180     536.4     0.292    0.0%
  200     578.3     9.908    1.7%
  220     605.8     0.194    0.0%
  240     642.8     8.284    1.2%
  260     674.4     0.231    0.0%
  280     715.1     9.008    1.2%
  300     763.8     14.19    1.8%
  320     781.8     4.548    0.5%
  340       825     14.28    1.7%
  360       856     13.03    1.5%
  380     899.4     13.96    1.5%
  400     928.6     12.86    1.3%
  420     957.3     7.901    0.8%
  440      1017     10.68    1.0%
  460      1037     14.45    1.3%
  480      1062     6.754    0.6%
  500      1100      12.5    1.1%
  520      1141      15.9    1.3%
  540      1184     16.02    1.3%
  560      1211     15.62    1.2%
  580      1244     13.57    1.0%
  600      1268     1.292    0.1%
  620      1304     1.321    0.1%
  640      1355      15.6    1.1%
  660      1388     13.88    1.0%
  680      1409     1.871    0.1%
  700      1449     7.059    0.4%
  720      1485     12.45    0.8%
  740      1521     10.78    0.7%
  760      1561        15    0.9%
  780      1601     15.11    0.9%
  800      1643     13.97    0.8%
  820      1663     9.906    0.5%
  840      1703     14.22    0.8%
  860      1732      10.6    0.6%
  880      1766     11.02    0.6%
  900      1805     13.15    0.7%
  920      1860     14.64    0.7%
  940      1889     15.61    0.8%
  960      1902     10.52    0.5%
  980      1958     13.78    0.7%
 1000      1983     16.91    0.8%
 1020      2000     1.162    0.0%

Quality and confidence:
param     error
s         0.001

Model:
Time ~=    222.4
    + s    1.761
              µs

Reads = 6 + (0 * s)
Writes = 5 + (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 ~=    187.5
              µs

Reads = 4
Writes = 2

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

Model:
Time ~=    187.5
              µ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 ~=    56.46
    + c    65.44
              µs

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

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

Data points distribution:
    c   mean µs  sigma µs       %
    0     55.36     0.171    0.3%
    1     122.4     0.772    0.6%
    2     189.5     1.489    0.7%
    3     249.7     0.258    0.1%
    4     318.2     3.958    1.2%
    5     380.1     0.949    0.2%
    6     442.1      0.55    0.1%
    7     519.5     12.32    2.3%
    8       583     12.37    2.1%
    9       649     12.44    1.9%
   10     706.1     7.759    1.0%
   11     772.9      11.1    1.4%
   12     833.5      9.39    1.1%
   13     927.6     15.06    1.6%
   14     980.9     13.29    1.3%
   15      1047     14.04    1.3%
   16      1112      15.3    1.3%
   17      1172     12.15    1.0%
   18      1232     12.65    1.0%
   19      1303     16.26    1.2%
   20      1367     13.01    0.9%
   21      1428     13.14    0.9%
   22      1504     1.893    0.1%
   23      1557     16.84    1.0%
   24      1613     13.21    0.8%
   25      1702     14.48    0.8%
   26      1774     15.54    0.8%
   27      1831     16.94    0.9%
   28      1901      14.7    0.7%
   29      1952     12.77    0.6%
   30      2008     10.79    0.5%
   31      2082     13.56    0.6%
   32      2148     12.14    0.5%
   33      2228     13.94    0.6%
   34      2275     9.879    0.4%
   35      2348     11.97    0.5%
   36      2409      11.7    0.4%
   37      2477     11.96    0.4%
   38      2539      14.6    0.5%
   39      2621     10.63    0.4%
   40      2667     9.928    0.3%
   41      2713     11.08    0.4%
   42      2779     11.59    0.4%
   43      2845     17.03    0.5%
   44      2927      8.78    0.2%
   45      2973     10.02    0.3%
   46      3027     13.71    0.4%
   47      3108     6.182    0.1%
   48      3171     16.79    0.5%
   49      3294     11.91    0.3%
   50      3369      15.8    0.4%
   51      3430     17.03    0.4%
   52      3483     18.01    0.5%
   53      3561     9.948    0.2%
   54      3610     6.731    0.1%
   55      3676      17.6    0.4%
   56      3740     12.65    0.3%
   57      3807     11.79    0.3%
   58      3868     12.22    0.3%
   59      3923     7.221    0.1%
   60      3986      16.8    0.4%
   61      4051     13.39    0.3%
   62      4113     14.02    0.3%
   63      4184     17.52    0.4%
   64      4262      21.5    0.5%

Quality and confidence:
param     error
c         0.041

Model:
Time ~=    54.32
    + c    65.58
              µ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 ~=    25.12
              µs

Reads = 1
Writes = 3

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

Model:
Time ~=    25.12
              µ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:0)
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 ~=    299.3
    + r    46.27
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     295.9     0.111    0.0%
    1     344.7     0.374    0.1%
    2     392.4     1.244    0.3%
    3     438.5     1.261    0.2%
    4     484.6     2.409    0.4%
    5     529.7     2.021    0.3%
    6     576.7     1.937    0.3%
    7     623.8      2.48    0.3%
    8     670.3     2.556    0.3%
    9     716.2     4.524    0.6%
   10     758.4     6.365    0.8%
   11     807.5     9.591    1.1%
   12     867.1     7.654    0.8%
   13     890.7     5.837    0.6%
   14     956.6     4.988    0.5%
   15     997.4     9.539    0.9%
   16      1041     10.31    0.9%
   17      1092     14.27    1.3%
   18      1140     8.844    0.7%
   19      1182     17.56    1.4%
   20      1227        11    0.8%

Quality and confidence:
param     error
r         0.099

Model:
Time ~=    297.3
    + r    46.62
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.1
    + r    45.84
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.1     0.205    0.0%
    1     344.4     0.259    0.0%
    2       395     8.328    2.1%
    3     436.1     1.616    0.3%
    4       483     0.625    0.1%
    5     527.3     1.307    0.2%
    6     573.1     0.767    0.1%
    7     621.7     0.738    0.1%
    8     665.7     0.667    0.1%
    9       717       7.7    1.0%
   10       759     6.198    0.8%
   11     800.6     1.458    0.1%
   12       846     2.478    0.2%
   13     904.8     14.52    1.6%
   14       943     8.896    0.9%
   15      1016     8.434    0.8%
   16      1059     2.823    0.2%
   17      1081        11    1.0%
   18      1133     14.21    1.2%
   19      1180     11.01    0.9%
   20      1219     11.08    0.9%

Quality and confidence:
param     error
r         0.118

Model:
Time ~=    296.4
    + r    46.56
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.8
    + r    45.08
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     295.8     0.142    0.0%
    1     344.2     0.375    0.1%
    2     390.1     0.435    0.1%
    3       435     2.009    0.4%
    4     480.8     0.552    0.1%
    5     524.9     0.925    0.1%
    6       575     9.991    1.7%
    7     617.5     0.615    0.0%
    8     666.5     8.232    1.2%
    9     706.5      2.44    0.3%
   10     753.3     7.808    1.0%
   11     794.7     2.469    0.3%
   12     836.9     0.679    0.0%
   13     896.6     14.09    1.5%
   14     938.5     8.443    0.8%
   15     979.2     4.746    0.4%
   16      1024     7.675    0.7%
   17      1076     12.61    1.1%
   18      1113     4.154    0.3%
   19      1154     2.728    0.2%
   20      1203     8.398    0.6%

Quality and confidence:
param     error
r         0.083

Model:
Time ~=    299.5
    + r    45.32
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    304.9
    + r    133.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.1     0.257    0.0%
    1     435.1     0.366    0.0%
    2       569     0.605    0.1%
    3     722.5      13.9    1.9%
    4     840.1     7.947    0.9%
    5     976.4     12.52    1.2%
    6      1105     9.828    0.8%
    7      1246     12.59    1.0%
    8      1378      13.8    1.0%
    9      1513     14.63    0.9%
   10      1650     16.86    1.0%
   11      1780     10.74    0.6%
   12      1910     11.74    0.6%
   13      2049     12.63    0.6%
   14      2186     14.56    0.6%
   15      2312     11.91    0.5%
   16      2439     14.27    0.5%
   17      2587     5.006    0.1%
   18      2719      11.1    0.4%
   19      2839     14.48    0.5%
   20      2975     8.086    0.2%

Quality and confidence:
param     error
r         0.148

Model:
Time ~=    306.2
    + r    133.8
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.2
    + r    45.54
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     295.9     0.166    0.0%
    1     344.4     0.578    0.1%
    2     390.3     0.614    0.1%
    3     435.7     1.881    0.4%
    4     486.7     3.647    0.7%
    5     529.6     6.065    1.1%
    6     576.1     3.174    0.5%
    7     622.4     5.428    0.8%
    8     662.8     2.497    0.3%
    9     712.4      8.47    1.1%
   10     756.3     6.397    0.8%
   11     800.2     5.543    0.6%
   12       844     7.605    0.9%
   13     904.6     8.966    0.9%
   14     944.2      10.8    1.1%
   15       987     7.972    0.8%
   16      1030     10.73    1.0%
   17      1086      18.6    1.7%
   18      1126     11.99    1.0%
   19      1177     8.259    0.7%
   20      1215     10.46    0.8%

Quality and confidence:
param     error
r           0.1

Model:
Time ~=      298
    + r    46.05
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.5
    + r    45.19
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       296     0.116    0.0%
    1     344.2     0.326    0.0%
    2     390.1     0.551    0.1%
    3     435.2     0.657    0.1%
    4     483.8     6.475    1.3%
    5     524.4     0.788    0.1%
    6     574.5     11.31    1.9%
    7       618     1.819    0.2%
    8     660.7     1.082    0.1%
    9     712.7      8.38    1.1%
   10     765.2     11.83    1.5%
   11     804.3     10.15    1.2%
   12     851.1     16.67    1.9%
   13     887.7     10.16    1.1%
   14     940.8     11.13    1.1%
   15     983.4      9.93    1.0%
   16      1025     7.861    0.7%
   17      1072     11.85    1.1%
   18      1123     17.43    1.5%
   19      1169     15.68    1.3%
   20      1215     14.32    1.1%

Quality and confidence:
param     error
r         0.119

Model:
Time ~=    298.4
    + r    45.77
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.7
    + r    44.67
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.2     0.196    0.0%
    1     346.2     3.046    0.8%
    2     389.1     0.226    0.0%
    3     435.7     3.495    0.8%
    4     479.2      0.64    0.1%
    5     523.2     0.716    0.1%
    6     567.7     1.334    0.2%
    7     614.2     2.364    0.3%
    8     666.3     12.75    1.9%
    9     701.8     1.094    0.1%
   10     748.9     7.902    1.0%
   11     797.8     14.07    1.7%
   12     834.2     3.354    0.4%
   13     874.6      1.13    0.1%
   14     935.1     12.01    1.2%
   15     979.1     11.42    1.1%
   16      1022     12.17    1.1%
   17      1060     1.566    0.1%
   18      1115     13.75    1.2%
   19      1162     15.96    1.3%
   20      1192     5.637    0.4%

Quality and confidence:
param     error
r         0.106

Model:
Time ~=    298.8
    + r    45.09
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.8
    + r    44.78
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.1     0.181    0.0%
    1     343.3     0.258    0.0%
    2     389.5     0.463    0.1%
    3     433.3     0.436    0.1%
    4     480.5     0.539    0.1%
    5       529      9.34    1.7%
    6     571.5     10.06    1.7%
    7       616     2.556    0.4%
    8     662.7     5.176    0.7%
    9     703.7     1.074    0.1%
   10     747.3     1.923    0.2%
   11     794.1     7.504    0.9%
   12     838.9     5.999    0.7%
   13     878.2      1.17    0.1%
   14     930.6     5.289    0.5%
   15     975.9     3.955    0.4%
   16      1020      9.12    0.8%
   17      1069     10.95    1.0%
   18      1110     9.162    0.8%
   19      1150     8.837    0.7%
   20      1195     7.836    0.6%

Quality and confidence:
param     error
r         0.076

Model:
Time ~=    299.8
    + r    44.95
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=      301
    + r    117.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.5     0.744    0.2%
    1     418.8     0.387    0.0%
    2     540.5     8.578    1.5%
    3     656.4     7.829    1.1%
    4     772.2     9.114    1.1%
    5       889     7.739    0.8%
    6      1011     11.39    1.1%
    7      1125      11.3    1.0%
    8      1247      14.5    1.1%
    9      1365     14.83    1.0%
   10      1479     14.34    0.9%
   11      1600     13.25    0.8%
   12      1714     10.69    0.6%
   13      1834     13.73    0.7%
   14      1959     12.57    0.6%
   15      2069     13.33    0.6%
   16      2177     9.371    0.4%
   17      2309     13.84    0.5%
   18      2425     12.04    0.4%
   19      2545     15.59    0.6%
   20      2667     11.91    0.4%

Quality and confidence:
param     error
r         0.138

Model:
Time ~=    300.4
    + r      118
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    175.9
    + r    21.19
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       173     0.165    0.0%
    1     196.5     0.281    0.1%
    2     217.7     0.168    0.0%
    3     240.4     0.722    0.3%
    4     261.5     0.993    0.3%
    5     281.4     0.264    0.0%
    6     303.9     0.233    0.0%
    7     324.4     0.212    0.0%
    8     345.9     2.115    0.6%
    9       365      0.36    0.0%
   10     385.8     0.566    0.1%
   11       412     1.646    0.3%
   12     433.7     3.976    0.9%
   13     456.4     1.709    0.3%
   14     472.7     1.014    0.2%
   15     494.2     1.236    0.2%
   16     524.8     14.28    2.7%
   17     534.8     1.328    0.2%
   18     556.2     2.276    0.4%
   19     578.3     1.375    0.2%
   20     596.3     1.257    0.2%

Quality and confidence:
param     error
r          0.05

Model:
Time ~=    175.7
    + r    21.26
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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:0)
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 ~=    299.7
    + r     44.7
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     295.8     0.079    0.0%
    1     343.7     0.259    0.0%
    2     393.1     3.971    1.0%
    3     433.3     0.356    0.0%
    4     479.2     0.718    0.1%
    5     527.5     8.747    1.6%
    6     573.7        10    1.7%
    7     614.8     0.863    0.1%
    8     658.7     2.371    0.3%
    9     701.2     1.109    0.1%
   10     749.4     5.627    0.7%
   11     796.5     9.331    1.1%
   12     836.4     8.595    1.0%
   13       886     11.96    1.3%
   14     935.5     9.391    1.0%
   15     979.2     14.29    1.4%
   16      1016      4.25    0.4%
   17      1065      11.9    1.1%
   18      1118     12.11    1.0%
   19      1150     8.938    0.7%
   20      1196      10.8    0.9%

Quality and confidence:
param     error
r         0.099

Model:
Time ~=    299.5
    + r    45.05
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    369.5
    + n    11.92
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     343.6     0.182    0.0%
   20     586.2     1.674    0.2%
   40     842.6     12.07    1.4%
   60      1079      14.2    1.3%
   80      1324     16.09    1.2%
  100      1567     13.47    0.8%
  120      1804     13.05    0.7%
  140      2045     13.88    0.6%
  160      2285     13.99    0.6%
  180      2537        12    0.4%
  200      2750     13.23    0.4%
  220      2992     18.51    0.6%
  240      3245     13.99    0.4%
  260      3464     15.57    0.4%
  280      3719     10.89    0.2%
  300      3947      2.97    0.0%
  320      4194     14.03    0.3%
  340      4433      16.3    0.3%
  360      4682     6.047    0.1%
  380      4907     16.08    0.3%
  400      5139     16.31    0.3%
  420      5382     17.47    0.3%
  440      5624     10.28    0.1%
  460      5850     6.732    0.1%
  480      6092     12.82    0.2%
  500      6337     23.68    0.3%
  520      6578     23.65    0.3%
  540      6809     22.87    0.3%
  560      7041     27.63    0.3%
  580      7281     26.15    0.3%
  600      7518     20.83    0.2%
  620      7774     23.18    0.2%
  640      7997     25.42    0.3%
  660      8251      27.4    0.3%
  680      8495     25.58    0.3%
  700      8712     17.22    0.1%
  720      8958     14.64    0.1%
  740      9190      25.7    0.2%
  760      9417     18.61    0.1%
  780      9647     9.174    0.0%
  800      9880     27.02    0.2%
  820     10180     36.79    0.3%
  840     10390     29.56    0.2%
  860     10700     54.63    0.5%
  880     10850     31.58    0.2%
  900     11130     38.26    0.3%
  920     11330     23.45    0.2%
  940     11750     12.12    0.1%
  960     11780     28.08    0.2%
  980     12040     14.18    0.1%
 1000     12280     36.93    0.3%
 1020     12510     25.44    0.2%

Quality and confidence:
param     error
n         0.005

Model:
Time ~=    366.1
    + n    11.94
              µs

Reads = 4 + (0 * n)
Writes = 1 + (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:0)
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 ~=    291.1
    + r    1.683
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     291.1     0.101    0.0%
    1     292.7     0.133    0.0%

Quality and confidence:
param     error
r         0.055

Model:
Time ~=    291.1
    + r    1.661
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    293.2
    + n    0.228
              µs

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

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     292.7     0.136    0.0%
   20     297.6     0.056    0.0%
   40     302.3     0.217    0.0%
   60     306.8      0.23    0.0%
   80     311.2     0.228    0.0%
  100     318.7     3.552    1.1%
  120     320.7     0.134    0.0%
  140     325.2     0.354    0.1%
  160     335.4     8.941    2.6%
  180     335.9     4.806    1.4%
  200     339.1     0.095    0.0%
  220     343.6     0.262    0.0%
  240       348     0.145    0.0%
  260       355     6.815    1.9%
  280     361.5     5.515    1.5%
  300     367.8     5.415    1.4%
  320     366.4     0.161    0.0%
  340     371.1     0.262    0.0%
  360     375.6     0.245    0.0%
  380     379.9     0.102    0.0%
  400     384.8     0.274    0.0%
  420     389.3     0.235    0.0%
  440     393.9     0.243    0.0%
  460     398.3     0.281    0.0%
  480     402.9      0.27    0.0%
  500     408.1     0.869    0.2%
  520       412     0.127    0.0%
  540     416.8     0.427    0.1%
  560     421.1     0.215    0.0%
  580     425.7     0.355    0.0%
  600     430.3     0.198    0.0%
  620     434.9     0.302    0.0%
  640     439.2     0.226    0.0%
  660     443.8     0.216    0.0%
  680     448.7     0.166    0.0%
  700       453     0.268    0.0%
  720     459.1     4.492    0.9%
  740     462.7     0.323    0.0%
  760     468.3     4.308    0.9%
  780     471.5     0.295    0.0%
  800     475.9     0.143    0.0%
  820     480.4     0.166    0.0%
  840       488     8.632    1.7%
  860     489.7     0.393    0.0%
  880     494.6     0.158    0.0%
  900     500.1     4.004    0.8%
  920     514.7     15.22    2.9%
  940     511.3      5.98    1.1%
  960     512.6     0.138    0.0%
  980     523.6     13.14    2.5%
 1000     521.7     0.301    0.0%
 1020     526.4     0.171    0.0%

Quality and confidence:
param     error
n             0

Model:
Time ~=    293.6
    + n     0.23
              µs

Reads = 4 + (0 * n)
Writes = 1 + (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:0)
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 ~=    295.9
    + r    52.02
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)

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

Data points distribution:
    r   mean µs  sigma µs       %
    0       296     0.198    0.0%
    1     348.7     2.041    0.5%

Quality and confidence:
param     error
r         0.683

Model:
Time ~=      296
    + r    52.73
              µs

Reads = 4 + (4 * r)
Writes = 1 + (5 * r)

Pallet: "pallet_contracts", Extrinsic: "seal_random", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=    301.7
    + r    153.8
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.1     0.092    0.0%
    1     453.9     0.301    0.0%
    2     606.1     0.734    0.1%
    3     767.3     11.39    1.4%
    4     926.2     12.42    1.3%
    5      1090     14.58    1.3%
    6      1238      15.7    1.2%
    7      1378     11.64    0.8%
    8      1522     9.006    0.5%
    9      1690     15.37    0.9%
   10      1842        13    0.7%
   11      1989     13.21    0.6%
   12      2164      7.66    0.3%
   13      2307     12.66    0.5%
   14      2449     14.63    0.5%
   15      2604     18.83    0.7%
   16      2758     12.45    0.4%
   17      2943     13.87    0.4%
   18      3078     13.64    0.4%
   19      3239     10.97    0.3%
   20      3399     16.12    0.4%

Quality and confidence:
param     error
r         0.179

Model:
Time ~=      301
    + r    154.3
              µs

Reads = 5 + (0 * r)
Writes = 1 + (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:0)
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 ~=    305.3
    + r    281.4
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     291.6      0.16    0.0%
    1     587.5      8.13    1.3%
    2     865.8     8.702    1.0%
    3      1154     13.35    1.1%
    4      1442      11.1    0.7%
    5      1712     11.23    0.6%
    6      1993     12.14    0.6%
    7      2287     7.422    0.3%
    8      2559     5.519    0.2%
    9      2843     10.15    0.3%
   10      3118     21.14    0.6%
   11      3414     11.61    0.3%
   12      3685     13.02    0.3%
   13      3961     15.48    0.3%
   14      4245     12.37    0.2%
   15      4516     25.43    0.5%
   16      4796     20.89    0.4%
   17      5097     9.687    0.1%
   18      5390     12.48    0.2%
   19      5661      14.5    0.2%
   20      5933     10.04    0.1%

Quality and confidence:
param     error
r         0.177

Model:
Time ~=    305.1
    + r    281.6
              µ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
Raw Storage Info
========
Storage: System Account (r:1 w:0)
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 ~=      579
    + t    291.9
    + n     86.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      1931     16.87    0.8%
    1    16      2276     15.93    0.6%
    2    16      2590     17.01    0.6%
    3    16      2849     12.13    0.4%
    4     0      1736     11.18    0.6%
    4     1      1854      8.72    0.4%
    4     2      1907     9.799    0.5%
    4     3      2001     16.57    0.8%
    4     4      2101     8.385    0.3%
    4     5      2169     10.32    0.4%
    4     6      2254     11.75    0.5%
    4     7      2316      11.3    0.4%
    4     8      2438     16.57    0.6%
    4     9      2519     22.32    0.8%
    4    10      2614     8.015    0.3%
    4    11      2704     14.69    0.5%
    4    12      2795     19.15    0.6%
    4    13      2859     13.99    0.4%
    4    14      2957     19.19    0.6%
    4    15      3071     10.11    0.3%
    4    16      3127     11.64    0.3%

Quality and confidence:
param     error
t         1.587
n         0.312

Model:
Time ~=    566.5
    + t    292.9
    + n    87.44
              µs

Reads = 4 + (100 * t) + (0 * n)
Writes = 1 + (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:0)
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.5
    + r    36.91
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     181.8     0.178    0.0%
    1     222.4     0.294    0.1%
    2     261.2     3.005    1.1%
    3     297.5     1.683    0.5%
    4     332.4     0.616    0.1%
    5     366.5     0.599    0.1%
    6     406.9     0.845    0.2%
    7     442.2     1.857    0.4%
    8     488.1     15.36    3.1%
    9     513.6      0.65    0.1%
   10     549.8     0.979    0.1%
   11     591.4     1.679    0.2%
   12     628.3     1.264    0.2%
   13     664.2     2.663    0.4%
   14     697.1     1.495    0.2%
   15     736.8     6.465    0.8%
   16     777.2     11.75    1.5%
   17     820.6     9.387    1.1%
   18     853.7     7.685    0.9%
   19     893.9     11.64    1.3%
   20     932.8     13.74    1.4%

Quality and confidence:
param     error
r         0.086

Model:
Time ~=      183
    + r    37.22
              µs

Reads = 4 + (0 * r)
Writes = 1 + (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 ~=    141.4
    + r    400.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.5      0.19    0.0%
    1     631.4     2.285    0.3%
    2     988.7     5.207    0.5%
    3      1361     9.498    0.6%
    4      1734     15.41    0.8%
    5      2123     9.874    0.4%
    6      2495     7.424    0.2%
    7      2882     14.54    0.5%
    8      3248     13.83    0.4%
    9      3719     15.81    0.4%
   10      4101     16.73    0.4%
   11      4524     24.24    0.5%
   12      4931     25.46    0.5%
   13      5294     18.22    0.3%
   14      5695     27.45    0.4%
   15      6103     27.69    0.4%
   16      6541     49.51    0.7%
   17      6971     29.37    0.4%
   18      7525     25.81    0.3%
   19      7918     24.16    0.3%
   20      8353     21.34    0.2%

Quality and confidence:
param     error
r         0.994

Model:
Time ~=    129.2
    + r    403.4
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_set_storage_per_new_kb", 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 ~=    693.8
    + n    30.75
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     635.8     1.496    0.2%
    1     724.3     3.325    0.4%
    2     756.3     4.579    0.6%
    3       786     2.553    0.3%
    4     827.1     8.587    1.0%
    5       854        10    1.1%
    6       879     4.915    0.5%
    7     912.2     3.454    0.3%
    8       938     6.482    0.6%
    9     973.2     12.04    1.2%
   10     991.3      3.53    0.3%
   11      1044     13.85    1.3%
   12      1080     2.391    0.2%
   13      1093     6.349    0.5%
   14      1120     6.137    0.5%
   15      1152     13.97    1.2%
   16      1176     12.33    1.0%

Quality and confidence:
param     error
n         0.266

Model:
Time ~=    684.7
    + n    31.66
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

Pallet: "pallet_contracts", Extrinsic: "seal_set_storage_per_old_kb", 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 ~=    715.3
    + n    10.12
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     636.8     1.203    0.1%
    1     711.9     1.712    0.2%
    2       754      11.3    1.4%
    3     752.4     1.118    0.1%
    4     762.4       2.2    0.2%
    5     769.4     2.419    0.3%
    6     779.4     2.515    0.3%
    7       790      8.14    1.0%
    8     799.4     6.402    0.8%
    9     806.5     4.503    0.5%
   10     807.2     7.237    0.8%
   11     819.2     2.127    0.2%
   12     823.3     1.816    0.2%
   13     837.7     2.214    0.2%
   14     859.2     11.54    1.3%
   15       874     10.96    1.2%
   16     877.6     2.493    0.2%

Quality and confidence:
param     error
n          0.32

Model:
Time ~=    701.9
    + n    11.23
              µs

Reads = 105 + (0 * n)
Writes = 103 + (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 ~=    182.9
    + r    378.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     295.9     0.205    0.0%
    1     638.3     2.076    0.3%
    2     974.5     8.397    0.8%
    3      1330      2.54    0.1%
    4      1689     16.01    0.9%
    5      2039     10.85    0.5%
    6      2402     9.092    0.3%
    7      2760     13.05    0.4%
    8      3134      17.7    0.5%
    9      3565     21.88    0.6%
   10      3919     13.27    0.3%
   11      4367     22.18    0.5%
   12      4702     11.97    0.2%
   13      5051     18.09    0.3%
   14      5409     16.72    0.3%
   15      5830     29.66    0.5%
   16      6212     28.84    0.4%
   17      6605     43.61    0.6%
   18      7135     33.11    0.4%
   19      7546     28.43    0.3%
   20      7938     25.55    0.3%

Quality and confidence:
param     error
r         0.909

Model:
Time ~=    163.5
    + r    381.4
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_clear_storage_per_kb", 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 ~=    695.5
    + n    9.906
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     636.7     1.644    0.2%
    1     695.1     7.789    1.1%
    2       723       2.6    0.3%
    3       742     10.56    1.4%
    4     742.7     1.065    0.1%
    5     751.8     3.157    0.4%
    6     754.1     4.551    0.6%
    7     765.2     3.358    0.4%
    8     773.8     4.153    0.5%
    9     784.7     7.552    0.9%
   10     786.8     8.085    1.0%
   11     793.5     2.795    0.3%
   12     800.5     5.775    0.7%
   13       823     8.145    0.9%
   14     834.5     3.933    0.4%
   15     855.6     11.34    1.3%
   16     853.6      1.68    0.1%

Quality and confidence:
param     error
n         0.261

Model:
Time ~=    685.8
    + n    10.72
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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 ~=    199.6
    + r    317.9
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     298.5     0.167    0.0%
    1     573.9     1.492    0.2%
    2     865.5     8.953    1.0%
    3      1178     11.47    0.9%
    4      1448     7.181    0.4%
    5      1785     10.69    0.5%
    6      2071     11.56    0.5%
    7      2380     11.28    0.4%
    8      2669     10.01    0.3%
    9      3034     11.19    0.3%
   10      3336     11.52    0.3%
   11      3679     19.34    0.5%
   12      4002     16.72    0.4%
   13      4300     17.58    0.4%
   14      4610     37.01    0.8%
   15      4946     20.55    0.4%
   16      5270     26.76    0.5%
   17      5608     19.77    0.3%
   18      6054     21.44    0.3%
   19      6353     21.82    0.3%
   20      6674     22.39    0.3%

Quality and confidence:
param     error
r         0.687

Model:
Time ~=    189.6
    + r    319.8
              µ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
Raw Storage Info
========
Storage: Skipped Metadata (r:0 w:0)

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

Model:
Time ~=      652
    + n    67.19
              µs

Reads = 104 + (0 * n)
Writes = 1 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     573.7     0.921    0.1%
    1     702.3     5.087    0.7%
    2     803.9     3.816    0.4%
    3     864.4      2.31    0.2%
    4     931.6     5.479    0.5%
    5     998.2     13.62    1.3%
    6      1056      1.75    0.1%
    7      1128     13.35    1.1%
    8      1189     9.817    0.8%
    9      1252     10.02    0.8%
   10      1317     12.27    0.9%
   11      1375       5.4    0.3%
   12      1445     12.97    0.8%
   13      1509     4.578    0.3%
   14      1596     9.754    0.6%
   15      1671     10.05    0.6%
   16      1731     13.44    0.7%

Quality and confidence:
param     error
n         0.353

Model:
Time ~=    638.9
    + n    68.29
              µs

Reads = 104 + (0 * n)
Writes = 1 + (0 * n)

Pallet: "pallet_contracts", Extrinsic: "seal_contains_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 ~=    212.3
    + r    285.5
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     296.1     0.131    0.0%
    1       543     1.884    0.3%
    2       798     3.327    0.4%
    3      1079     11.89    1.1%
    4      1335     8.688    0.6%
    5      1613     10.21    0.6%
    6      1898     13.24    0.6%
    7      2160     8.523    0.3%
    8      2429     7.234    0.2%
    9      2747     14.83    0.5%
   10      3038     27.53    0.9%
   11      3300     16.43    0.4%
   12      3638     23.93    0.6%
   13      3942     23.91    0.6%
   14      4143     22.28    0.5%
   15      4473      21.7    0.4%
   16      4761     29.14    0.6%
   17      5049     30.75    0.6%
   18      5419     24.02    0.4%
   19      5733     18.75    0.3%
   20      6041     29.66    0.4%

Quality and confidence:
param     error
r         0.624

Model:
Time ~=    197.5
    + r    287.1
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_contains_storage_per_kb", 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 ~=    605.4
    + n    8.991
              µs

Reads = 104 + (0 * n)
Writes = 1 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     541.7     1.271    0.2%
    1     598.9     4.806    0.8%
    2     644.5     13.74    2.1%
    3     640.2     8.172    1.2%
    4       654     9.601    1.4%
    5     652.4     2.276    0.3%
    6     665.2     5.119    0.7%
    7     666.6     1.369    0.2%
    8     684.5     6.699    0.9%
    9     681.4     2.206    0.3%
   10     683.4     1.824    0.2%
   11     696.6     4.052    0.5%
   12     697.1     2.187    0.3%
   13     719.5     5.214    0.7%
   14     725.6     2.673    0.3%
   15     748.5     9.889    1.3%
   16       753     2.287    0.3%

Quality and confidence:
param     error
n         0.291

Model:
Time ~=    595.7
    + n    9.745
              µs

Reads = 104 + (0 * n)
Writes = 1 + (0 * n)

Pallet: "pallet_contracts", Extrinsic: "seal_take_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 ~=    197.3
    + r    413.3
              µs

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

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

Data points distribution:
    r   mean µs  sigma µs       %
    0     298.5     0.169    0.0%
    1     674.7     9.995    1.4%
    2      1047     8.606    0.8%
    3      1462     12.17    0.8%
    4      1830     13.91    0.7%
    5      2250     14.32    0.6%
    6      2631     16.74    0.6%
    7      3043     26.04    0.8%
    8      3406     11.31    0.3%
    9      3896     18.17    0.4%
   10      4298     8.247    0.1%
   11      4717     22.14    0.4%
   12      5123     25.76    0.5%
   13      5555      15.8    0.2%
   14      5927     22.82    0.3%
   15      6338     21.84    0.3%
   16      6784     36.48    0.5%
   17      7213     32.38    0.4%
   18      7797     30.33    0.3%
   19      8214     28.23    0.3%
   20      8621     22.96    0.2%

Quality and confidence:
param     error
r         0.863

Model:
Time ~=    177.6
    + r    416.2
              µs

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

Pallet: "pallet_contracts", Extrinsic: "seal_take_storage_per_kb", 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 ~=    751.7
    + n    68.54
              µs

Reads = 105 + (0 * n)
Writes = 103 + (0 * n)

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

Data points distribution:
    n   mean µs  sigma µs       %
    0     687.9     14.15    2.0%
    1       799     4.313    0.5%
    2     900.4     10.22    1.1%
    3     965.8     9.792    1.0%
<truncated>...

@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 Jan 31, 2022
Comment on lines 251 to 254
let mut production_profile = Table::new();
production_profile.insert("inherits".into(), "release".into());
production_profile.insert("lto".into(), "fat".into());
production_profile.insert("codegen-units".into(), 1.into());
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason that we use panic = "abort" for both release and dev profiles but not for production profile? Defaults to panic = "unwind".

Copy link
Contributor

@Robbepop Robbepop Jan 31, 2022

Choose a reason for hiding this comment

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

Offtopic: The tons of .into() calls kinda irk me, we should really think about changing the API of Table::insert to take a generic parameter T: Into<WhateverThisIs>.

Copy link
Member Author

@athei athei Jan 31, 2022

Choose a reason for hiding this comment

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

production inherits from release. It uses abort implicitly. We know for sure because we would get a build error if we'd try to build a runtime with unwind support (we don't implement unwind support).

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah so overriding profile.release also overrides all inherited profiles. Makes sense.

@athei
Copy link
Member Author

athei commented Jan 31, 2022

#10747 is merged. Runtime is build with lto=fat, cgu=1. I reverted the changes here and started the benchbot. Should be ready for merge if the weights look reasonable.

…--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
Copy link
Member Author

@athei athei left a comment

Choose a reason for hiding this comment

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

Inspected the weights:

  • Setup weights went up quite a bit.
  • Load/Store instructions almost doubled in weight.
  • Other instructions stayed the same or improved slightly

Comment on lines 750 to 759
fn instr_i64load(r: u32, ) -> Weight {
(74_212_000 as Weight)
// Standard Error: 0
.saturating_add((1_325_000 as Weight).saturating_mul(r as Weight))
(118_782_000 as Weight)
// Standard Error: 2_000
.saturating_add((2_711_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64store(r: u32, ) -> Weight {
(74_505_000 as Weight)
// Standard Error: 1_000
.saturating_add((1_423_000 as Weight).saturating_mul(r as Weight))
(118_311_000 as Weight)
// Standard Error: 5_000
.saturating_add((2_378_000 as Weight).saturating_mul(r as Weight))
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Load and store instruction performance almost halved (look at r).

(140_169_000 as Weight)
(187_520_000 as Weight)
Copy link
Member Author

Choose a reason for hiding this comment

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

General call overhead increased quite a bit. Most likely setting up a new module and instance just takes longer in the new version. Do we have a benchmark for this in wasmi (creating a new instance) @Robbepop ?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes there are benchmarks for checking the efficiency of module instantiation.

Comment on lines -207 to +211
(210_420_000 as Weight)
// Standard Error: 133_000
.saturating_add((145_601_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 8_000
.saturating_add((1_760_000 as Weight).saturating_mul(s as Weight))
(312_769_000 as Weight)
// Standard Error: 122_000
.saturating_add((142_000_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 7_000
.saturating_add((1_798_000 as Weight).saturating_mul(s as Weight))
Copy link
Member Author

Choose a reason for hiding this comment

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

The overhead of instantiating per code byte seems to stay the same. General overhead goes up. I assume setting up the wasm instance is slower now.

@athei
Copy link
Member Author

athei commented Feb 4, 2022

Performance regressed too much. We wait for the new wasmi_v1 to try again.

@athei athei closed this Feb 4, 2022
@athei athei deleted the at-bump-wasmi branch February 25, 2022 07:31
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. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants