-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: relocate tm2/std.MemFile in gnovm/std (#2910)
This PR removes "gno.land" from all `tm2/.../*.go` files. --------- Signed-off-by: moul <[email protected]>
- Loading branch information
Showing
36 changed files
with
254 additions
and
7,365 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
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
Oops, something went wrong.
603f6d3
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
501.7
ns/op 96 B/op 2 allocs/op293.2
ns/op 96 B/op 2 allocs/op1.71
BenchmarkBinary/EmptyStruct:encode - ns/op
501.7
ns/op293.2
ns/op1.71
BenchmarkBinary/EmptyStruct:decode
288.3
ns/op 0 B/op 0 allocs/op134.5
ns/op 0 B/op 0 allocs/op2.14
BenchmarkBinary/EmptyStruct:decode - ns/op
288.3
ns/op134.5
ns/op2.14
BenchmarkBinary/ShortArraysStruct:encode
782.6
ns/op 192 B/op 4 allocs/op613.8
ns/op 192 B/op 4 allocs/op1.28
BenchmarkBinary/ShortArraysStruct:encode - ns/op
782.6
ns/op613.8
ns/op1.28
BenchmarkBinary/ShortArraysStruct:decode
359.9
ns/op 0 B/op 0 allocs/op215.1
ns/op 0 B/op 0 allocs/op1.67
BenchmarkBinary/ShortArraysStruct:decode - ns/op
359.9
ns/op215.1
ns/op1.67
BenchmarkBinary/EmbeddedSt1:encode
6058
ns/op 2037 B/op 65 allocs/op4701
ns/op 2037 B/op 65 allocs/op1.29
BenchmarkBinary/EmbeddedSt1:encode - ns/op
6058
ns/op4701
ns/op1.29
BenchmarkBinary/EmbeddedSt1:decode
3570
ns/op 300 B/op 8 allocs/op2942
ns/op 300 B/op 8 allocs/op1.21
BenchmarkBinary/EmbeddedSt1:decode - ns/op
3570
ns/op2942
ns/op1.21
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
63657873
ns/op 5130 B/op 9 allocs/op31889702
ns/op 5125 B/op 9 allocs/op2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
63657873
ns/op31889702
ns/op2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
127236207
ns/op 5139 B/op 9 allocs/op31889702
ns/op 5125 B/op 9 allocs/op3.99
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
127236207
ns/op31889702
ns/op3.99
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
254438188
ns/op 5158 B/op 9 allocs/op31889702
ns/op 5125 B/op 9 allocs/op7.98
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
254438188
ns/op31889702
ns/op7.98
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
508723188
ns/op 5196 B/op 10 allocs/op31889702
ns/op 5125 B/op 9 allocs/op15.95
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
508723188
ns/op31889702
ns/op15.95
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
1017207001
ns/op 5736 B/op 15 allocs/op31889702
ns/op 5125 B/op 9 allocs/op31.90
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
1017207001
ns/op31889702
ns/op31.90
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op
15
allocs/op9
allocs/op1.67
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
2035191154
ns/op 5528 B/op 13 allocs/op31889702
ns/op 5125 B/op 9 allocs/op63.82
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
2035191154
ns/op31889702
ns/op63.82
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op
13
allocs/op9
allocs/op1.44
BenchmarkSigning
84348
ns/op 1856 B/op 36 allocs/op25703
ns/op 64 B/op 1 allocs/op3.28
BenchmarkSigning - ns/op
84348
ns/op25703
ns/op3.28
BenchmarkSigning - B/op
1856
B/op64
B/op29
BenchmarkSigning - allocs/op
36
allocs/op1
allocs/op36
BenchmarkSigning
84288
ns/op 1856 B/op 36 allocs/op25703
ns/op 64 B/op 1 allocs/op3.28
BenchmarkSigning - ns/op
84288
ns/op25703
ns/op3.28
BenchmarkSigning - B/op
1856
B/op64
B/op29
BenchmarkSigning - allocs/op
36
allocs/op1
allocs/op36
BenchmarkVerification
166012
ns/op 864 B/op 19 allocs/op61123
ns/op 0 B/op 0 allocs/op2.72
BenchmarkVerification - ns/op
166012
ns/op61123
ns/op2.72
BenchmarkVerification - B/op
864
B/op0
B/op+∞
BenchmarkVerification - allocs/op
19
allocs/op0
allocs/op+∞
BenchmarkVerification
167655
ns/op 864 B/op 19 allocs/op61123
ns/op 0 B/op 0 allocs/op2.74
BenchmarkVerification - ns/op
167655
ns/op61123
ns/op2.74
BenchmarkVerification - B/op
864
B/op0
B/op+∞
BenchmarkVerification - allocs/op
19
allocs/op0
allocs/op+∞
BenchmarkImmutableAvlTreeMemDB
4986715
ns/op 1080967 B/op 22001 allocs/op3217269
ns/op 844809 B/op 17163 allocs/op1.55
BenchmarkImmutableAvlTreeMemDB - ns/op
4986715
ns/op3217269
ns/op1.55
BenchmarkImmutableAvlTreeMemDB - B/op
1080967
B/op844809
B/op1.28
BenchmarkImmutableAvlTreeMemDB - allocs/op
22001
allocs/op17163
allocs/op1.28
BenchmarkImmutableAvlTreeMemDB
4328567
ns/op 1021851 B/op 20789 allocs/op3217269
ns/op 844809 B/op 17163 allocs/op1.35
BenchmarkImmutableAvlTreeMemDB - ns/op
4328567
ns/op3217269
ns/op1.35
BenchmarkImmutableAvlTreeMemDB - B/op
1021851
B/op844809
B/op1.21
BenchmarkImmutableAvlTreeMemDB - allocs/op
20789
allocs/op17163
allocs/op1.21
BenchmarkRandomBytes/random
68.74
ns/op 16 B/op 1 allocs/op33.51
ns/op 4 B/op 1 allocs/op2.05
BenchmarkRandomBytes/random - ns/op
68.74
ns/op33.51
ns/op2.05
BenchmarkRandomBytes/random - B/op
16
B/op4
B/op4
BenchmarkRandomBytes/random
105.4
ns/op 32 B/op 1 allocs/op33.51
ns/op 4 B/op 1 allocs/op3.15
BenchmarkRandomBytes/random - ns/op
105.4
ns/op33.51
ns/op3.15
BenchmarkRandomBytes/random - B/op
32
B/op4
B/op8
BenchmarkRandomBytes/random
271.3
ns/op 112 B/op 1 allocs/op33.51
ns/op 4 B/op 1 allocs/op8.10
BenchmarkRandomBytes/random - ns/op
271.3
ns/op33.51
ns/op8.10
BenchmarkRandomBytes/random - B/op
112
B/op4
B/op28
BenchmarkRandomBytes/random
2325
ns/op 1024 B/op 1 allocs/op33.51
ns/op 4 B/op 1 allocs/op69.38
BenchmarkRandomBytes/random - ns/op
2325
ns/op33.51
ns/op69.38
BenchmarkRandomBytes/random - B/op
1024
B/op4
B/op256
BenchmarkSmall/boltdb-1000-100-16-40/update
1411863
ns/op 43561 B/op 386 allocs/op925411
ns/op 37248 B/op 369 allocs/op1.53
BenchmarkSmall/boltdb-1000-100-16-40/update - ns/op
1411863
ns/op925411
ns/op1.53
BenchmarkSmall/memdb-1000-100-16-40/block
19201454
ns/op 9298521 B/op 169658 allocs/op11745994
ns/op 6590083 B/op 117031 allocs/op1.63
BenchmarkSmall/memdb-1000-100-16-40/block - ns/op
19201454
ns/op11745994
ns/op1.63
BenchmarkSmall/memdb-1000-100-16-40/block - B/op
9298521
B/op6590083
B/op1.41
BenchmarkSmall/memdb-1000-100-16-40/block - allocs/op
169658
allocs/op117031
allocs/op1.45
BenchmarkMedium/boltdb-100000-100-16-40/update - B/op
132838
B/op104914
B/op1.27
BenchmarkMedium/memdb-100000-100-16-40/update
1302427
ns/op 378505 B/op 7501 allocs/op1018775
ns/op 261962 B/op 5059 allocs/op1.28
BenchmarkMedium/memdb-100000-100-16-40/update - ns/op
1302427
ns/op1018775
ns/op1.28
BenchmarkMedium/memdb-100000-100-16-40/update - B/op
378505
B/op261962
B/op1.44
BenchmarkMedium/memdb-100000-100-16-40/update - allocs/op
7501
allocs/op5059
allocs/op1.48
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - B/op
48217
B/op38308
B/op1.26
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - allocs/op
576
allocs/op451
allocs/op1.28
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - B/op
107742066
B/op78417828
B/op1.37
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - allocs/op
1268608
allocs/op967953
allocs/op1.31
BenchmarkHash/ripemd160
2837
ns/op 25 B/op 1 allocs/op702.7
ns/op 25 B/op 1 allocs/op4.04
BenchmarkHash/ripemd160 - ns/op
2837
ns/op702.7
ns/op4.04
BenchmarkHash/sha2-256
523.5
ns/op 33 B/op 1 allocs/op169.6
ns/op 33 B/op 1 allocs/op3.09
BenchmarkHash/sha2-256 - ns/op
523.5
ns/op169.6
ns/op3.09
BenchmarkHash/sha3-256
1812
ns/op 33 B/op 1 allocs/op715.5
ns/op 33 B/op 1 allocs/op2.53
BenchmarkHash/sha3-256 - ns/op
1812
ns/op715.5
ns/op2.53
BenchmarkWriteSecretConnection
6178
ns/op 0 B/op 0 allocs/op4046
ns/op 0 B/op 0 allocs/op1.53
BenchmarkWriteSecretConnection - ns/op
6178
ns/op4046
ns/op1.53
BenchmarkReadSecretConnection
3760
ns/op 0 B/op 0 allocs/op2348
ns/op 0 B/op 0 allocs/op1.60
BenchmarkReadSecretConnection - ns/op
3760
ns/op2348
ns/op1.60
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ajnavarro @thehowl @zivkovicmilos