Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "benchmark",
Short: "Benchmark is a tool to measure Engine's performance",
Long: "Benchmark is a tool to measure and find the limitation of Engine's performance.",
}
Functions ¶
This section is empty.
Types ¶
type Connections ¶
type Connections struct {
// contains filtered or unexported fields
}
func NewConncetions ¶
func NewConncetions(users int, log log.Logger) *Connections
func (*Connections) Run ¶
func (c *Connections) Run()
type Initializer ¶
type Initializer struct {
// contains filtered or unexported fields
}
func NewInitializer ¶
func (*Initializer) Run ¶
func (init *Initializer) Run() error
type Latency ¶
type Latency struct {
// contains filtered or unexported fields
}
func (*Latency) StartTimer ¶
func (l *Latency) StartTimer()
type LoadTester ¶
type LoadTester struct {
// contains filtered or unexported fields
}
func NewLoadTester ¶
func (*LoadTester) Run ¶
func (lt *LoadTester) Run() error
Click to show internal directories.
Click to hide internal directories.