-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove vmkeeper.maxcycles (#2993)
Let's remove the `vn.maxCycles` variable from the VM keeper so that it relies solely on the built-in gas system. `maxCycles` remains an option on `gno.Machine` for blockchainless and gasless experiences. --------- Signed-off-by: moul <[email protected]> Co-authored-by: Morgan Bazalgette <[email protected]>
- Loading branch information
Showing
6 changed files
with
55 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1154172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Go Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.20
.BenchmarkBinary/EmptyStruct:encode
435.1
ns/op 96 B/op 2 allocs/op290.5
ns/op 96 B/op 2 allocs/op1.50
BenchmarkBinary/EmptyStruct:encode - ns/op
435.1
ns/op290.5
ns/op1.50
BenchmarkBinary/EmptyStruct:decode
235.5
ns/op 0 B/op 0 allocs/op134.5
ns/op 0 B/op 0 allocs/op1.75
BenchmarkBinary/EmptyStruct:decode - ns/op
235.5
ns/op134.5
ns/op1.75
BenchmarkBinary/PrimitivesStruct:encode
5176
ns/op 1724 B/op 60 allocs/op4136
ns/op 1724 B/op 60 allocs/op1.25
BenchmarkBinary/PrimitivesStruct:encode - ns/op
5176
ns/op4136
ns/op1.25
BenchmarkBinary/ShortArraysStruct:decode
405
ns/op 0 B/op 0 allocs/op217.8
ns/op 0 B/op 0 allocs/op1.86
BenchmarkBinary/ShortArraysStruct:decode - ns/op
405
ns/op217.8
ns/op1.86
BenchmarkBinary/EmbeddedSt1:encode
6063
ns/op 2037 B/op 65 allocs/op4701
ns/op 2037 B/op 65 allocs/op1.29
BenchmarkBinary/EmbeddedSt1:encode - ns/op
6063
ns/op4701
ns/op1.29
BenchmarkRemoved
39.08
ns/op 0 B/op 0 allocs/op29.25
ns/op 0 B/op 0 allocs/op1.34
BenchmarkRemoved - ns/op
39.08
ns/op29.25
ns/op1.34
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
63797850
ns/op 5130 B/op 9 allocs/op31926591
ns/op 5125 B/op 9 allocs/op2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
63797850
ns/op31926591
ns/op2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
127826844
ns/op 5139 B/op 9 allocs/op31926591
ns/op 5125 B/op 9 allocs/op4.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
127826844
ns/op31926591
ns/op4.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
255568646
ns/op 5158 B/op 9 allocs/op31926591
ns/op 5125 B/op 9 allocs/op8.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
255568646
ns/op31926591
ns/op8.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
510898132
ns/op 5196 B/op 10 allocs/op31926591
ns/op 5125 B/op 9 allocs/op16.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
510898132
ns/op31926591
ns/op16.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
1019441784
ns/op 5736 B/op 15 allocs/op31926591
ns/op 5125 B/op 9 allocs/op31.93
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
1019441784
ns/op31926591
ns/op31.93
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op
15
allocs/op9
allocs/op1.67
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
2038677858
ns/op 5528 B/op 13 allocs/op31926591
ns/op 5125 B/op 9 allocs/op63.86
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
2038677858
ns/op31926591
ns/op63.86
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op
13
allocs/op9
allocs/op1.44
BenchmarkSigning
84326
ns/op 1856 B/op 36 allocs/op25733
ns/op 64 B/op 1 allocs/op3.28
BenchmarkSigning - ns/op
84326
ns/op25733
ns/op3.28
BenchmarkSigning - B/op
1856
B/op64
B/op29
BenchmarkSigning - allocs/op
36
allocs/op1
allocs/op36
BenchmarkSigning
84315
ns/op 1856 B/op 36 allocs/op25733
ns/op 64 B/op 1 allocs/op3.28
BenchmarkSigning - ns/op
84315
ns/op25733
ns/op3.28
BenchmarkSigning - B/op
1856
B/op64
B/op29
BenchmarkSigning - allocs/op
36
allocs/op1
allocs/op36
BenchmarkVerification
162743
ns/op 864 B/op 19 allocs/op61648
ns/op 0 B/op 0 allocs/op2.64
BenchmarkVerification - ns/op
162743
ns/op61648
ns/op2.64
BenchmarkVerification - B/op
864
B/op0
B/op+∞
BenchmarkVerification - allocs/op
19
allocs/op0
allocs/op+∞
BenchmarkVerification
166255
ns/op 864 B/op 19 allocs/op61648
ns/op 0 B/op 0 allocs/op2.70
BenchmarkVerification - ns/op
166255
ns/op61648
ns/op2.70
BenchmarkVerification - B/op
864
B/op0
B/op+∞
BenchmarkVerification - allocs/op
19
allocs/op0
allocs/op+∞
BenchmarkRandomBytes/random
68.37
ns/op 16 B/op 1 allocs/op33.11
ns/op 4 B/op 1 allocs/op2.06
BenchmarkRandomBytes/random - ns/op
68.37
ns/op33.11
ns/op2.06
BenchmarkRandomBytes/random - B/op
16
B/op4
B/op4
BenchmarkRandomBytes/random
104
ns/op 32 B/op 1 allocs/op33.11
ns/op 4 B/op 1 allocs/op3.14
BenchmarkRandomBytes/random - ns/op
104
ns/op33.11
ns/op3.14
BenchmarkRandomBytes/random - B/op
32
B/op4
B/op8
BenchmarkRandomBytes/random
268.2
ns/op 112 B/op 1 allocs/op33.11
ns/op 4 B/op 1 allocs/op8.10
BenchmarkRandomBytes/random - ns/op
268.2
ns/op33.11
ns/op8.10
BenchmarkRandomBytes/random - B/op
112
B/op4
B/op28
BenchmarkRandomBytes/random
2307
ns/op 1024 B/op 1 allocs/op33.11
ns/op 4 B/op 1 allocs/op69.68
BenchmarkRandomBytes/random - ns/op
2307
ns/op33.11
ns/op69.68
BenchmarkRandomBytes/random - B/op
1024
B/op4
B/op256
BenchmarkSmall/boltdb-1000-100-16-40/update
1508790
ns/op 45657 B/op 405 allocs/op984983
ns/op 37521 B/op 373 allocs/op1.53
BenchmarkSmall/boltdb-1000-100-16-40/update - ns/op
1508790
ns/op984983
ns/op1.53
BenchmarkSmall/boltdb-1000-100-16-40/update - B/op
45657
B/op37521
B/op1.22
BenchmarkSmall/memdb-1000-100-16-40/block
16798988
ns/op 9328889 B/op 170320 allocs/op12505432
ns/op 6572434 B/op 116641 allocs/op1.34
BenchmarkSmall/memdb-1000-100-16-40/block - ns/op
16798988
ns/op12505432
ns/op1.34
BenchmarkSmall/memdb-1000-100-16-40/block - B/op
9328889
B/op6572434
B/op1.42
BenchmarkSmall/memdb-1000-100-16-40/block - allocs/op
170320
allocs/op116641
allocs/op1.46
BenchmarkMedium/boltdb-100000-100-16-40/update
6649576
ns/op 125146 B/op 979 allocs/op5090235
ns/op 97780 B/op 829 allocs/op1.31
BenchmarkMedium/boltdb-100000-100-16-40/update - ns/op
6649576
ns/op5090235
ns/op1.31
BenchmarkMedium/boltdb-100000-100-16-40/update - B/op
125146
B/op97780
B/op1.28
BenchmarkMedium/memdb-100000-100-16-40/update - B/op
370098
B/op252310
B/op1.47
BenchmarkMedium/memdb-100000-100-16-40/update - allocs/op
7333
allocs/op4860
allocs/op1.51
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - B/op
48218
B/op38060
B/op1.27
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - allocs/op
579
allocs/op446
allocs/op1.30
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - B/op
104276482
B/op78670622
B/op1.33
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - allocs/op
1218846
allocs/op973166
allocs/op1.25
BenchmarkHash/ripemd160
2831
ns/op 25 B/op 1 allocs/op704.7
ns/op 25 B/op 1 allocs/op4.02
BenchmarkHash/ripemd160 - ns/op
2831
ns/op704.7
ns/op4.02
BenchmarkHash/sha2-256
523.1
ns/op 33 B/op 1 allocs/op169.4
ns/op 33 B/op 1 allocs/op3.09
BenchmarkHash/sha2-256 - ns/op
523.1
ns/op169.4
ns/op3.09
BenchmarkHash/sha3-256
1836
ns/op 33 B/op 1 allocs/op717.4
ns/op 33 B/op 1 allocs/op2.56
BenchmarkHash/sha3-256 - ns/op
1836
ns/op717.4
ns/op2.56
BenchmarkWriteSecretConnection
5689
ns/op 0 B/op 0 allocs/op4015
ns/op 0 B/op 0 allocs/op1.42
BenchmarkWriteSecretConnection - ns/op
5689
ns/op4015
ns/op1.42
BenchmarkReadSecretConnection
3758
ns/op 0 B/op 0 allocs/op2348
ns/op 0 B/op 0 allocs/op1.60
BenchmarkReadSecretConnection - ns/op
3758
ns/op2348
ns/op1.60
BenchmarkCacheStoreIterator100000 - allocs/op
28405
allocs/op22732
allocs/op1.25
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ajnavarro @thehowl @zivkovicmilos