Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tm2): enable coin benchmark tests after fixing panic error (#2884)
Relate to #907 Make a few small fixes to get this test working <!-- please provide a detailed description of the changes made in this pull request. --> <details><summary>Contributors' checklist...</summary> - [ ] Added new tests, or not needed, or not feasible - [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [ ] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details>
- Loading branch information
e34a8f7
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
473.2
ns/op 96 B/op 2 allocs/op290.6
ns/op 96 B/op 2 allocs/op1.63
BenchmarkBinary/EmptyStruct:encode - ns/op
473.2
ns/op290.6
ns/op1.63
BenchmarkBinary/EmptyStruct:decode
246
ns/op 0 B/op 0 allocs/op134.2
ns/op 0 B/op 0 allocs/op1.83
BenchmarkBinary/EmptyStruct:decode - ns/op
246
ns/op134.2
ns/op1.83
BenchmarkBinary/ShortArraysStruct:decode
406.2
ns/op 0 B/op 0 allocs/op213.6
ns/op 0 B/op 0 allocs/op1.90
BenchmarkBinary/ShortArraysStruct:decode - ns/op
406.2
ns/op213.6
ns/op1.90
BenchmarkRemoved
36.8
ns/op 0 B/op 0 allocs/op29.17
ns/op 0 B/op 0 allocs/op1.26
BenchmarkRemoved - ns/op
36.8
ns/op29.17
ns/op1.26
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
63674563
ns/op 5130 B/op 9 allocs/op31841703
ns/op 5125 B/op 9 allocs/op2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
63674563
ns/op31841703
ns/op2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
127267110
ns/op 5139 B/op 9 allocs/op31841703
ns/op 5125 B/op 9 allocs/op4.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
127267110
ns/op31841703
ns/op4.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
254450810
ns/op 5158 B/op 9 allocs/op31841703
ns/op 5125 B/op 9 allocs/op7.99
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
254450810
ns/op31841703
ns/op7.99
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
508915544
ns/op 5196 B/op 10 allocs/op31841703
ns/op 5125 B/op 9 allocs/op15.98
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
508915544
ns/op31841703
ns/op15.98
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
1017562746
ns/op 5528 B/op 13 allocs/op31841703
ns/op 5125 B/op 9 allocs/op31.96
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
1017562746
ns/op31841703
ns/op31.96
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op
13
allocs/op9
allocs/op1.44
BenchmarkBcryptGenerateFromPassword/benchmark-security-param
2034617035
ns/op 5736 B/op 15 allocs/op31841703
ns/op 5125 B/op 9 allocs/op63.90
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op
2034617035
ns/op31841703
ns/op63.90
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op
15
allocs/op9
allocs/op1.67
BenchmarkSigning
83564
ns/op 1856 B/op 36 allocs/op25722
ns/op 64 B/op 1 allocs/op3.25
BenchmarkSigning - ns/op
83564
ns/op25722
ns/op3.25
BenchmarkSigning - B/op
1856
B/op64
B/op29
BenchmarkSigning - allocs/op
36
allocs/op1
allocs/op36
BenchmarkSigning
84420
ns/op 1856 B/op 36 allocs/op25722
ns/op 64 B/op 1 allocs/op3.28
BenchmarkSigning - ns/op
84420
ns/op25722
ns/op3.28
BenchmarkSigning - B/op
1856
B/op64
B/op29
BenchmarkSigning - allocs/op
36
allocs/op1
allocs/op36
BenchmarkVerification
170051
ns/op 864 B/op 19 allocs/op61371
ns/op 0 B/op 0 allocs/op2.77
BenchmarkVerification - ns/op
170051
ns/op61371
ns/op2.77
BenchmarkVerification - B/op
864
B/op0
B/op+∞
BenchmarkVerification - allocs/op
19
allocs/op0
allocs/op+∞
BenchmarkVerification
160924
ns/op 864 B/op 19 allocs/op61371
ns/op 0 B/op 0 allocs/op2.62
BenchmarkVerification - ns/op
160924
ns/op61371
ns/op2.62
BenchmarkVerification - B/op
864
B/op0
B/op+∞
BenchmarkVerification - allocs/op
19
allocs/op0
allocs/op+∞
BenchmarkRandomBytes/random
69.25
ns/op 16 B/op 1 allocs/op33.02
ns/op 4 B/op 1 allocs/op2.10
BenchmarkRandomBytes/random - ns/op
69.25
ns/op33.02
ns/op2.10
BenchmarkRandomBytes/random - B/op
16
B/op4
B/op4
BenchmarkRandomBytes/random
104.9
ns/op 32 B/op 1 allocs/op33.02
ns/op 4 B/op 1 allocs/op3.18
BenchmarkRandomBytes/random - ns/op
104.9
ns/op33.02
ns/op3.18
BenchmarkRandomBytes/random - B/op
32
B/op4
B/op8
BenchmarkRandomBytes/random
269
ns/op 112 B/op 1 allocs/op33.02
ns/op 4 B/op 1 allocs/op8.15
BenchmarkRandomBytes/random - ns/op
269
ns/op33.02
ns/op8.15
BenchmarkRandomBytes/random - B/op
112
B/op4
B/op28
BenchmarkRandomBytes/random
2359
ns/op 1024 B/op 1 allocs/op33.02
ns/op 4 B/op 1 allocs/op71.44
BenchmarkRandomBytes/random - ns/op
2359
ns/op33.02
ns/op71.44
BenchmarkRandomBytes/random - B/op
1024
B/op4
B/op256
BenchmarkSmall/boltdb-1000-100-16-40/update
1533897
ns/op 48423 B/op 413 allocs/op998645
ns/op 37727 B/op 372 allocs/op1.54
BenchmarkSmall/boltdb-1000-100-16-40/update - ns/op
1533897
ns/op998645
ns/op1.54
BenchmarkSmall/boltdb-1000-100-16-40/update - B/op
48423
B/op37727
B/op1.28
BenchmarkSmall/memdb-1000-100-16-40/block
18202450
ns/op 9185127 B/op 167448 allocs/op13079643
ns/op 6605123 B/op 117150 allocs/op1.39
BenchmarkSmall/memdb-1000-100-16-40/block - ns/op
18202450
ns/op13079643
ns/op1.39
BenchmarkSmall/memdb-1000-100-16-40/block - B/op
9185127
B/op6605123
B/op1.39
BenchmarkSmall/memdb-1000-100-16-40/block - allocs/op
167448
allocs/op117150
allocs/op1.43
BenchmarkMedium/boltdb-100000-100-16-40/update
6837950
ns/op 129749 B/op 1007 allocs/op4970221
ns/op 97109 B/op 821 allocs/op1.38
BenchmarkMedium/boltdb-100000-100-16-40/update - ns/op
6837950
ns/op4970221
ns/op1.38
BenchmarkMedium/boltdb-100000-100-16-40/update - B/op
129749
B/op97109
B/op1.34
BenchmarkMedium/boltdb-100000-100-16-40/update - allocs/op
1007
allocs/op821
allocs/op1.23
BenchmarkMedium/memdb-100000-100-16-40/update - B/op
375492
B/op258705
B/op1.45
BenchmarkMedium/memdb-100000-100-16-40/update - allocs/op
7438
allocs/op4990
allocs/op1.49
BenchmarkLevelDBBatchSizes/goleveldb-100000-25-16-40/block
10529144
ns/op 1583864 B/op 17636 allocs/op8475554
ns/op 1398219 B/op 17108 allocs/op1.24
BenchmarkLevelDBBatchSizes/goleveldb-100000-25-16-40/block - ns/op
10529144
ns/op8475554
ns/op1.24
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - B/op
49643
B/op38762
B/op1.28
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - allocs/op
591
allocs/op448
allocs/op1.32
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/update - allocs/op
430
allocs/op340
allocs/op1.26
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block
645382348
ns/op 94972512 B/op 1169686 allocs/op531906609
ns/op 78974738 B/op 989651 allocs/op1.21
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - ns/op
645382348
ns/op531906609
ns/op1.21
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - B/op
94972512
B/op78974738
B/op1.20
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - B/op
111312208
B/op78974738
B/op1.41
BenchmarkLevelDBBatchSizes/goleveldb-100000-2000-16-40/block - allocs/op
1262277
allocs/op989651
allocs/op1.28
BenchmarkHash/ripemd160
2833
ns/op 25 B/op 1 allocs/op703.1
ns/op 25 B/op 1 allocs/op4.03
BenchmarkHash/ripemd160 - ns/op
2833
ns/op703.1
ns/op4.03
BenchmarkHash/sha2-256
519.4
ns/op 33 B/op 1 allocs/op170.9
ns/op 33 B/op 1 allocs/op3.04
BenchmarkHash/sha2-256 - ns/op
519.4
ns/op170.9
ns/op3.04
BenchmarkHash/sha3-256
1840
ns/op 33 B/op 1 allocs/op718.3
ns/op 33 B/op 1 allocs/op2.56
BenchmarkHash/sha3-256 - ns/op
1840
ns/op718.3
ns/op2.56
BenchmarkWriteSecretConnection
6291
ns/op 0 B/op 0 allocs/op4127
ns/op 0 B/op 0 allocs/op1.52
BenchmarkWriteSecretConnection - ns/op
6291
ns/op4127
ns/op1.52
BenchmarkReadSecretConnection
3555
ns/op 0 B/op 0 allocs/op2352
ns/op 0 B/op 0 allocs/op1.51
BenchmarkReadSecretConnection - ns/op
3555
ns/op2352
ns/op1.51
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ajnavarro @thehowl @zivkovicmilos