Documentation ¶
Overview ¶
Package perf implements perf command for PEPCLI.
Index ¶
Constants ¶
View Source
const ( // Name contains title of function implemented by the package. Name = "perf" // Description provides additional information on the package functionality. Description = "measures performance of evaluation given requests on PDP server" )
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec(addr string, opts []pep.Option, maxRequestSize, maxResponseObligations uint32, in, out string, n int, v interface{}) error
Exec runs performance test for given server with requests from input and dumps timings in JSON format to given file or standard output if file name is empty.
func FlagsParser ¶
func FlagsParser(args []string) interface{}
FlagsParser implements parsing for options specific to the package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.