Documentation ¶
Overview ¶
Package main provides benchmark with setting flags.
An example to run some benchmarks with profiling enabled:
go run benchmark/benchmain/main.go -benchtime=10s -workloads=all \ -compression=on -maxConcurrentCalls=1 -traceMode=false \ -reqSizeBytes=1,1048576 -respSizeBytes=1,1048576 \ -latency=0s -kbps=0 -mtu=0 \ -cpuProfile=cpuProf -memProfile=memProf -memProfileRate=10000
Click to show internal directories.
Click to hide internal directories.