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 (
|
var (
|
||||||
filterCommand = &cli.Command{
|
filterGenerateCommand = &cli.Command{
|
||||||
Name: "filter",
|
Name: "filtergen",
|
||||||
Usage: "Log filter workload test commands",
|
|
||||||
Subcommands: []*cli.Command{
|
|
||||||
filterGenCommand,
|
|
||||||
filterPerfCommand,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
filterGenCommand = &cli.Command{
|
|
||||||
Name: "generate",
|
|
||||||
Usage: "Generates query set for log filter workload test",
|
Usage: "Generates query set for log filter workload test",
|
||||||
ArgsUsage: "<RPC endpoint URL>",
|
ArgsUsage: "<RPC endpoint URL>",
|
||||||
Action: filterGenCmd,
|
Action: filterGenCmd,
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
filterPerfCommand = &cli.Command{
|
filterPerfCommand = &cli.Command{
|
||||||
Name: "performance",
|
Name: "filterperf",
|
||||||
Usage: "Runs log filter performance test against an RPC endpoint",
|
Usage: "Runs log filter performance test against an RPC endpoint",
|
||||||
ArgsUsage: "<RPC endpoint URL>",
|
ArgsUsage: "<RPC endpoint URL>",
|
||||||
Action: filterPerfCmd,
|
Action: filterPerfCmd,
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,8 @@ func init() {
|
||||||
app.Commands = []*cli.Command{
|
app.Commands = []*cli.Command{
|
||||||
runTestCommand,
|
runTestCommand,
|
||||||
historyGenerateCommand,
|
historyGenerateCommand,
|
||||||
filterCommand,
|
filterGenerateCommand,
|
||||||
|
filterPerfCommand,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue