Skip to content

Commit

Permalink
chore: remove unused flag (#2990)
Browse files Browse the repository at this point in the history
Signed-off-by: moul <[email protected]>
  • Loading branch information
moul authored Oct 21, 2024
1 parent 93ece90 commit 24f0a0d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gno.land/cmd/gnoland/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ type startCfg struct {
genesisFile string
chainID string
dataDir string
genesisMaxVMCycles int64
config string
lazyInit bool

Expand Down Expand Up @@ -137,13 +136,6 @@ func (c *startCfg) RegisterFlags(fs *flag.FlagSet) {
"replacement for '%%REMOTE%%' in genesis",
)

fs.Int64Var(
&c.genesisMaxVMCycles,
"genesis-max-vm-cycles",
100_000_000,
"set maximum allowed vm cycles per operation. Zero means no limit.",
)

fs.StringVar(
&c.config,
flagConfigFlag,
Expand Down

1 comment on commit 24f0a0d

@github-actions
Copy link

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

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.

Benchmark suite Current: 24f0a0d Previous: 93ece90 Ratio
BenchmarkBinary/EmptyStruct:encode 478 ns/op 96 B/op 2 allocs/op 293.2 ns/op 96 B/op 2 allocs/op 1.63
BenchmarkBinary/EmptyStruct:encode - ns/op 478 ns/op 293.2 ns/op 1.63
BenchmarkBinary/EmptyStruct:decode 283.6 ns/op 0 B/op 0 allocs/op 145.2 ns/op 0 B/op 0 allocs/op 1.95
BenchmarkBinary/EmptyStruct:decode - ns/op 283.6 ns/op 145.2 ns/op 1.95
BenchmarkBinary/ShortArraysStruct:encode 804.2 ns/op 192 B/op 4 allocs/op 613.9 ns/op 192 B/op 4 allocs/op 1.31
BenchmarkBinary/ShortArraysStruct:encode - ns/op 804.2 ns/op 613.9 ns/op 1.31
BenchmarkBinary/ShortArraysStruct:decode 395.3 ns/op 0 B/op 0 allocs/op 230.1 ns/op 0 B/op 0 allocs/op 1.72
BenchmarkBinary/ShortArraysStruct:decode - ns/op 395.3 ns/op 230.1 ns/op 1.72
BenchmarkDetaching 91.23 ns/op 0 B/op 0 allocs/op 75.45 ns/op 0 B/op 0 allocs/op 1.21
BenchmarkDetaching - ns/op 91.23 ns/op 75.45 ns/op 1.21
BenchmarkBcryptGenerateFromPassword/benchmark-security-param 63793397 ns/op 5130 B/op 9 allocs/op 31917562 ns/op 5125 B/op 9 allocs/op 2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op 63793397 ns/op 31917562 ns/op 2.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param 127535198 ns/op 5139 B/op 9 allocs/op 31917562 ns/op 5125 B/op 9 allocs/op 4.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op 127535198 ns/op 31917562 ns/op 4.00
BenchmarkBcryptGenerateFromPassword/benchmark-security-param 254991463 ns/op 5158 B/op 9 allocs/op 31917562 ns/op 5125 B/op 9 allocs/op 7.99
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op 254991463 ns/op 31917562 ns/op 7.99
BenchmarkBcryptGenerateFromPassword/benchmark-security-param 509961280 ns/op 5196 B/op 10 allocs/op 31917562 ns/op 5125 B/op 9 allocs/op 15.98
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op 509961280 ns/op 31917562 ns/op 15.98
BenchmarkBcryptGenerateFromPassword/benchmark-security-param 1019510331 ns/op 5736 B/op 15 allocs/op 31917562 ns/op 5125 B/op 9 allocs/op 31.94
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op 1019510331 ns/op 31917562 ns/op 31.94
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op 15 allocs/op 9 allocs/op 1.67
BenchmarkBcryptGenerateFromPassword/benchmark-security-param 2039973152 ns/op 5736 B/op 15 allocs/op 31917562 ns/op 5125 B/op 9 allocs/op 63.91
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - ns/op 2039973152 ns/op 31917562 ns/op 63.91
BenchmarkBcryptGenerateFromPassword/benchmark-security-param - allocs/op 15 allocs/op 9 allocs/op 1.67
BenchmarkSigning 84454 ns/op 1856 B/op 36 allocs/op 25720 ns/op 64 B/op 1 allocs/op 3.28
BenchmarkSigning - ns/op 84454 ns/op 25720 ns/op 3.28
BenchmarkSigning - B/op 1856 B/op 64 B/op 29
BenchmarkSigning - allocs/op 36 allocs/op 1 allocs/op 36
BenchmarkSigning 84174 ns/op 1856 B/op 36 allocs/op 25720 ns/op 64 B/op 1 allocs/op 3.27
BenchmarkSigning - ns/op 84174 ns/op 25720 ns/op 3.27
BenchmarkSigning - B/op 1856 B/op 64 B/op 29
BenchmarkSigning - allocs/op 36 allocs/op 1 allocs/op 36
BenchmarkVerification 166668 ns/op 864 B/op 19 allocs/op 61145 ns/op 0 B/op 0 allocs/op 2.73
BenchmarkVerification - ns/op 166668 ns/op 61145 ns/op 2.73
BenchmarkVerification - B/op 864 B/op 0 B/op +∞
BenchmarkVerification - allocs/op 19 allocs/op 0 allocs/op +∞
BenchmarkVerification 165765 ns/op 864 B/op 19 allocs/op 61145 ns/op 0 B/op 0 allocs/op 2.71
BenchmarkVerification - ns/op 165765 ns/op 61145 ns/op 2.71
BenchmarkVerification - B/op 864 B/op 0 B/op +∞
BenchmarkVerification - allocs/op 19 allocs/op 0 allocs/op +∞
BenchmarkRandomBytes/random 68.36 ns/op 16 B/op 1 allocs/op 32.96 ns/op 4 B/op 1 allocs/op 2.07
BenchmarkRandomBytes/random - ns/op 68.36 ns/op 32.96 ns/op 2.07
BenchmarkRandomBytes/random - B/op 16 B/op 4 B/op 4
BenchmarkRandomBytes/random 105.7 ns/op 32 B/op 1 allocs/op 32.96 ns/op 4 B/op 1 allocs/op 3.21
BenchmarkRandomBytes/random - ns/op 105.7 ns/op 32.96 ns/op 3.21
BenchmarkRandomBytes/random - B/op 32 B/op 4 B/op 8
BenchmarkRandomBytes/random 268 ns/op 112 B/op 1 allocs/op 32.96 ns/op 4 B/op 1 allocs/op 8.13
BenchmarkRandomBytes/random - ns/op 268 ns/op 32.96 ns/op 8.13
BenchmarkRandomBytes/random - B/op 112 B/op 4 B/op 28
BenchmarkRandomBytes/random 2344 ns/op 1024 B/op 1 allocs/op 32.96 ns/op 4 B/op 1 allocs/op 71.12
BenchmarkRandomBytes/random - ns/op 2344 ns/op 32.96 ns/op 71.12
BenchmarkRandomBytes/random - B/op 1024 B/op 4 B/op 256
BenchmarkSmall/boltdb-1000-100-16-40/update 1327897 ns/op 40077 B/op 370 allocs/op 1018008 ns/op 38184 B/op 377 allocs/op 1.30
BenchmarkSmall/boltdb-1000-100-16-40/update - ns/op 1327897 ns/op 1018008 ns/op 1.30
BenchmarkSmall/memdb-1000-100-16-40/block 15420249 ns/op 9322085 B/op 170113 allocs/op 12267880 ns/op 6599312 B/op 117067 allocs/op 1.26
BenchmarkSmall/memdb-1000-100-16-40/block - ns/op 15420249 ns/op 12267880 ns/op 1.26
BenchmarkSmall/memdb-1000-100-16-40/block - B/op 9322085 B/op 6599312 B/op 1.41
BenchmarkSmall/memdb-1000-100-16-40/block - allocs/op 170113 allocs/op 117067 allocs/op 1.45
BenchmarkMedium/boltdb-100000-100-16-40/update 7234125 ns/op 138401 B/op 1069 allocs/op 5055028 ns/op 97638 B/op 828 allocs/op 1.43
BenchmarkMedium/boltdb-100000-100-16-40/update - ns/op 7234125 ns/op 5055028 ns/op 1.43
BenchmarkMedium/boltdb-100000-100-16-40/update - B/op 138401 B/op 97638 B/op 1.42
BenchmarkMedium/boltdb-100000-100-16-40/update - allocs/op 1069 allocs/op 828 allocs/op 1.29
BenchmarkMedium/memdb-100000-100-16-40/update - B/op 364788 B/op 263040 B/op 1.39
BenchmarkMedium/memdb-100000-100-16-40/update - allocs/op 7221 allocs/op 5080 allocs/op 1.42
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - B/op 48612 B/op 38742 B/op 1.25
BenchmarkLevelDBBatchSizes/goleveldb-100000-400-16-40/update - allocs/op 584 allocs/op 449 allocs/op 1.30
BenchmarkHash/ripemd160 2831 ns/op 25 B/op 1 allocs/op 703.7 ns/op 25 B/op 1 allocs/op 4.02
BenchmarkHash/ripemd160 - ns/op 2831 ns/op 703.7 ns/op 4.02
BenchmarkHash/sha2-256 520.6 ns/op 33 B/op 1 allocs/op 169.1 ns/op 33 B/op 1 allocs/op 3.08
BenchmarkHash/sha2-256 - ns/op 520.6 ns/op 169.1 ns/op 3.08
BenchmarkHash/sha3-256 1839 ns/op 33 B/op 1 allocs/op 715 ns/op 33 B/op 1 allocs/op 2.57
BenchmarkHash/sha3-256 - ns/op 1839 ns/op 715 ns/op 2.57
BenchmarkWriteSecretConnection 6200 ns/op 0 B/op 0 allocs/op 4023 ns/op 0 B/op 0 allocs/op 1.54
BenchmarkWriteSecretConnection - ns/op 6200 ns/op 4023 ns/op 1.54
BenchmarkReadSecretConnection 3636 ns/op 0 B/op 0 allocs/op 2361 ns/op 0 B/op 0 allocs/op 1.54
BenchmarkReadSecretConnection - ns/op 3636 ns/op 2361 ns/op 1.54
BenchmarkCacheStoreIterator100000 34828646 ns/op 5896037 B/op 24570 allocs/op 26877450 ns/op 5729851 B/op 21651 allocs/op 1.30
BenchmarkCacheStoreIterator100000 - ns/op 34828646 ns/op 26877450 ns/op 1.30

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ajnavarro @thehowl @zivkovicmilos

Please sign in to comment.