Documentation
¶
Overview ¶
Package requester provides commands to run load tests and display results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Work ¶
type Work struct {
// N is the total number of requests to make.
N int
// C is the concurrency level, the number of concurrent workers to run.
C int
Host string
Protocol string
// Qps is the rate limit.
Qps int
// Output represents the output type. If "csv" is provided, the
// output will be dumped as a csv stream.
Output string
Times int
// 1: KvRawGet
// 2: KvRawPut
// 3: KvRawDelete
// 4: KvRawExecute
// 5: KvSelect
// 6: KvInsert
// 7: KvDelete
// 8: CreateRange
// 9: DeleteRange
// 10: TransferLeader
Mode int
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.