MCPcopy
hub / github.com/opencloud-eu/opencloud / BenchmarkCommand

Function BenchmarkCommand

opencloud/pkg/command/benchmark.go:31–38  ·  view source on GitHub ↗

BenchmarkCommand is the entrypoint for the benchmark commands.

(cfg *config.Config)

Source from the content-addressed store, hash-verified

29
30// BenchmarkCommand is the entrypoint for the benchmark commands.
31func 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.
41func BenchmarkClientCommand(cfg *config.Config) *cobra.Command {

Callers

nothing calls this directly

Calls 2

BenchmarkClientCommandFunction · 0.85
BenchmarkSyscallsCommandFunction · 0.85

Tested by

no test coverage detected