mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
cmd/workload: move filter commands up one level
This commit is contained in:
parent
509548977f
commit
a140ef6d7c
3 changed files with 5 additions and 12 deletions
|
|
@ -33,16 +33,8 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
filterCommand = &cli.Command{
|
||||
Name: "filter",
|
||||
Usage: "Log filter workload test commands",
|
||||
Subcommands: []*cli.Command{
|
||||
filterGenCommand,
|
||||
filterPerfCommand,
|
||||
},
|
||||
}
|
||||
filterGenCommand = &cli.Command{
|
||||
Name: "generate",
|
||||
filterGenerateCommand = &cli.Command{
|
||||
Name: "filtergen",
|
||||
Usage: "Generates query set for log filter workload test",
|
||||
ArgsUsage: "<RPC endpoint URL>",
|
||||
Action: filterGenCmd,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import (
|
|||
|
||||
var (
|
||||
filterPerfCommand = &cli.Command{
|
||||
Name: "performance",
|
||||
Name: "filterperf",
|
||||
Usage: "Runs log filter performance test against an RPC endpoint",
|
||||
ArgsUsage: "<RPC endpoint URL>",
|
||||
Action: filterPerfCmd,
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@ func init() {
|
|||
app.Commands = []*cli.Command{
|
||||
runTestCommand,
|
||||
historyGenerateCommand,
|
||||
filterCommand,
|
||||
filterGenerateCommand,
|
||||
filterPerfCommand,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue