BenchmarkCommand is the entrypoint for the benchmark commands.
(cfg *config.Config)
| 29 | |
| 30 | // BenchmarkCommand is the entrypoint for the benchmark commands. |
| 31 | func BenchmarkCommand(cfg *config.Config) *cobra.Command { |
| 32 | benchCmd := &cobra.Command{ |
| 33 | Use: "benchmark", |
| 34 | Short: "cli tools to test low and high level performance", |
| 35 | } |
| 36 | benchCmd.AddCommand(BenchmarkClientCommand(cfg), BenchmarkSyscallsCommand(cfg)) |
| 37 | return benchCmd |
| 38 | } |
| 39 | |
| 40 | // BenchmarkClientCommand is the entrypoint for the benchmark client command. |
| 41 | func BenchmarkClientCommand(cfg *config.Config) *cobra.Command { |
nothing calls this directly
no test coverage detected