File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,18 @@ gas and took 15ms on our CI system. The ideal cost per operation for this system
29
29
is ` 10**12 / (96837752 / (15 / 1000)) ` : 154. This is rounded to 150 for
30
30
simplicity.
31
31
32
+ CosmWasm 2.1 update: All gas values were re-evaluated and adjusted to meet the 1
33
+ Teragas/second target mentioned above. A rerun of the Argon2 test contract
34
+ consumed 5270718300 gas with the previous cost of 150, so the operation count
35
+ was ` 5270718300 / 150 = 35138122 ` . This took 6ms on our benchmark server, so the
36
+ new cost per operation is ` 10**12 / (35138122 / (6 / 1000)) ` : 171. This is
37
+ rounded to 170 for simplicity.
38
+
39
+ Benchmarking system:
40
+
41
+ - CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (4 cores, 8 threads)
42
+ - RAM: 32GB DDR4 2133 MHz
43
+
32
44
Each machine is different, we know that. But the above target helps us in
33
45
multiple ways:
34
46
You can’t perform that action at this time.
0 commit comments